<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: ecrt.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ecrt_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ecrt.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ecrt_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *  $Id: ecrt.h,v 6d9865c37b6f 2013/02/12 16:15:09 fp $</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  Copyright (C) 2006-2012  Florian Pose, Ingenieurgemeinschaft IgH</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *  This file is part of the IgH EtherCAT master userspace library.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  The IgH EtherCAT master userspace library is free software; you can</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  redistribute it and/or modify it under the terms of the GNU Lesser General</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *  Public License as published by the Free Software Foundation; version 2.1</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *  of the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *  The IgH EtherCAT master userspace library is distributed in the hope that</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *  it will be useful, but WITHOUT ANY WARRANTY; without even the implied</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *  GNU Lesser General Public License for more details.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *  You should have received a copy of the GNU Lesser General Public License</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *  along with the IgH EtherCAT master userspace library. If not, see</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *  &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *  ---</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *  The license mentioned above concerns the source code only. Using the</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  EtherCAT technology and brand is only permitted in compliance with the</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *  industrial property and similar rights of Beckhoff Automation GmbH.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#ifndef __ECRT_H__</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#define __ECRT_H__</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#include &lt;asm/byteorder.h&gt;</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">#include &lt;linux/types.h&gt;</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#include &lt;linux/time.h&gt;</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span> <span class="comment">// for size_t</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#include &lt;sys/time.h&gt;</span> <span class="comment">// for struct timeval</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment"> * Global definitions</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gab5c4a56925d06baf2787d2bc7b6390bb">  139</a></span>&#160;<span class="preprocessor">#define ECRT_VER_MAJOR 1</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga50d00fb774853fb6c974c3467a7403b1">  143</a></span>&#160;<span class="preprocessor">#define ECRT_VER_MINOR 5</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga9e1274b72978322b0df48bf16e760439">  147</a></span>&#160;<span class="preprocessor">#define ECRT_VERSION(a, b) (((a) &lt;&lt; 8) + (b))</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga9da1b3be0320bb6fd2fd7a87874e6324">  151</a></span>&#160;<span class="preprocessor">#define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR)</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment"> * Feature flags</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gac7ba64ff07a3e390c4290f4ffb4b8512">  162</a></span>&#160;<span class="preprocessor">#define EC_HAVE_REDUNDANCY</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga496883570b15e30ceb5005a5834f8577">  168</a></span>&#160;<span class="preprocessor">#define EC_HAVE_EMERGENCY</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaf1c03a9ed2467c2301e311854dc93718">  176</a></span>&#160;<span class="preprocessor">#define EC_HAVE_REG_ACCESS</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaeede7fdd550dd23956e71d0149e41738">  180</a></span>&#160;<span class="preprocessor">#define EC_HAVE_SELECT_REF_CLOCK</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga430c21af72fdb8db3d8ca3936f4ce0ab">  184</a></span>&#160;<span class="preprocessor">#define EC_HAVE_REF_CLOCK_TIME</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga380318ba3695d3b526ca72f489a86781">  188</a></span>&#160;<span class="preprocessor">#define EC_HAVE_REG_BY_POS</span></div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gab2c6b7c61e0a7e07671003c1954d92ee">  196</a></span>&#160;<span class="preprocessor">#define EC_END ~0U</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gab737cd2955a397ebd0df13e9148cec9f">  200</a></span>&#160;<span class="preprocessor">#define EC_MAX_SYNC_MANAGERS 16</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gad1811128dd257dd7f5bb7a11724a638e">  206</a></span>&#160;<span class="preprocessor">#define EC_MAX_STRING_LENGTH 64</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">  209</a></span>&#160;<span class="preprocessor">#define EC_MAX_PORTS 4</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaeffbc7820c2e642aee02c92729d4411c">  219</a></span>&#160;<span class="preprocessor">#define EC_TIMEVAL2NANO(TV) \</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">    (((TV).tv_sec - 946684800ULL) * 1000000000ULL + (TV).tv_usec * 1000ULL)</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga1395ca6654aae4222bc89b73e6ebfa66">  226</a></span>&#160;<span class="preprocessor">#define EC_COE_EMERGENCY_MSG_SIZE 8</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment"> * Data types</span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__master.html">ec_master</a>;</div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">  233</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__master.html">ec_master</a> <a class="code" href="structec__master.html">ec_master_t</a>; </div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__slave__config.html">ec_slave_config</a>;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">  236</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__slave__config.html">ec_slave_config</a> <a class="code" href="structec__slave__config.html">ec_slave_config_t</a>; </div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__domain.html">ec_domain</a>;</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">  239</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__domain.html">ec_domain</a> <a class="code" href="structec__domain.html">ec_domain_t</a>; </div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__sdo__request.html">ec_sdo_request</a>;</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">  242</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__sdo__request.html">ec_sdo_request</a> <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a>; </div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__voe__handler.html">ec_voe_handler</a>;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga498dd422118de7095af5287ef9a6eed1">  245</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__voe__handler.html">ec_voe_handler</a> <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a>; </div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="keyword">struct </span><a class="code" href="structec__reg__request.html">ec_reg_request</a>;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">  248</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structec__reg__request.html">ec_reg_request</a> <a class="code" href="structec__reg__request.html">ec_reg_request_t</a>; </div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="structec__master__state__t.html">  258</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structec__master__state__t.html#abd0384430bcfe9be73f7f0796210cbb1">  259</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__state__t.html#abd0384430bcfe9be73f7f0796210cbb1">slaves_responding</a>; </div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="structec__master__state__t.html#a3f7cdc7119df341803926360e65e3405">  261</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__state__t.html#a3f7cdc7119df341803926360e65e3405">al_states</a> : 4; </div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="structec__master__state__t.html#abe6aef62585b16c0b08e2133d17c96d1">  270</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__state__t.html#abe6aef62585b16c0b08e2133d17c96d1">link_up</a> : 1; </div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;} <a class="code" href="structec__master__state__t.html">ec_master_state_t</a>;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="structec__master__link__state__t.html">  282</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="structec__master__link__state__t.html#af901790b400db653a2fd739275142a0e">  283</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__link__state__t.html#af901790b400db653a2fd739275142a0e">slaves_responding</a>; </div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="structec__master__link__state__t.html#a917ac210b8e3d193b845ce6f7fdc852a">  285</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__link__state__t.html#a917ac210b8e3d193b845ce6f7fdc852a">al_states</a> : 4; </div><div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="structec__master__link__state__t.html#a6c076febd20049f7764d5a3bb8409797">  294</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__link__state__t.html#a6c076febd20049f7764d5a3bb8409797">link_up</a> : 1; </div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;} <a class="code" href="structec__master__link__state__t.html">ec_master_link_state_t</a>;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="structec__slave__config__state__t.html">  306</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct  </span>{</div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="structec__slave__config__state__t.html#a9e2af2cf43358d7abd1fdd04c293493f">  307</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__slave__config__state__t.html#a9e2af2cf43358d7abd1fdd04c293493f">online</a> : 1; </div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="structec__slave__config__state__t.html#aaadc9c8a1a5ee8b810ceaeed25723e61">  308</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__slave__config__state__t.html#aaadc9c8a1a5ee8b810ceaeed25723e61">operational</a> : 1; </div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structec__slave__config__state__t.html#ae14213eb8fa0145ecf1250e46ff7c4af">  310</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__slave__config__state__t.html#ae14213eb8fa0145ecf1250e46ff7c4af">al_state</a> : 4; </div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;} <a class="code" href="structec__slave__config__state__t.html">ec_slave_config_state_t</a>;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="structec__master__info__t.html">  328</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="structec__master__info__t.html#a4dd59e6219e9a77861649b8ee088f22d">  329</a></span>&#160;   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__info__t.html#a4dd59e6219e9a77861649b8ee088f22d">slave_count</a>; </div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="structec__master__info__t.html#af04f490338e344e2c9de516cabe5251b">  330</a></span>&#160;   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__master__info__t.html#af04f490338e344e2c9de516cabe5251b">link_up</a> : 1; </div><div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="structec__master__info__t.html#ab9fa75d1beeda493a5c47fd2e4897896">  331</a></span>&#160;   uint8_t <a class="code" href="structec__master__info__t.html#ab9fa75d1beeda493a5c47fd2e4897896">scan_busy</a>; </div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="structec__master__info__t.html#aa7c135f6d6247323c05c7c88baf118ba">  332</a></span>&#160;   uint64_t <a class="code" href="structec__master__info__t.html#aa7c135f6d6247323c05c7c88baf118ba">app_time</a>; </div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;} <a class="code" href="structec__master__info__t.html">ec_master_info_t</a>;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">  339</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a714b71ad4e085ce97f819853779e6c82">  340</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a714b71ad4e085ce97f819853779e6c82">EC_PORT_NOT_IMPLEMENTED</a>, </div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a696e2f14e40660b267334b44aa529bb6">  341</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a696e2f14e40660b267334b44aa529bb6">EC_PORT_NOT_CONFIGURED</a>, </div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338ac06e10ab39eb8c7585e6b3e85aa901b2">  342</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338ac06e10ab39eb8c7585e6b3e85aa901b2">EC_PORT_EBUS</a>, </div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a0a5db996018465752d5f6d5bc1caad39">  343</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a0a5db996018465752d5f6d5bc1caad39">EC_PORT_MII</a> </div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;} <a class="code" href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">ec_slave_port_desc_t</a>;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="structec__slave__port__link__t.html">  350</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="structec__slave__port__link__t.html#a91706295ab6fa0761233b12a7e35d016">  351</a></span>&#160;    uint8_t <a class="code" href="structec__slave__port__link__t.html#a91706295ab6fa0761233b12a7e35d016">link_up</a>; </div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="structec__slave__port__link__t.html#aefb5e82418479aa5f9043c9fe6503655">  352</a></span>&#160;    uint8_t <a class="code" href="structec__slave__port__link__t.html#aefb5e82418479aa5f9043c9fe6503655">loop_closed</a>; </div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="structec__slave__port__link__t.html#a4ee187234a71d54517327aa02f076513">  353</a></span>&#160;    uint8_t <a class="code" href="structec__slave__port__link__t.html#a4ee187234a71d54517327aa02f076513">signal_detected</a>; </div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;} <a class="code" href="structec__slave__port__link__t.html">ec_slave_port_link_t</a>;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html">  364</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a6001f55881e2cd363a4c0749c0096cd6">  365</a></span>&#160;    uint16_t <a class="code" href="structec__slave__info__t.html#a6001f55881e2cd363a4c0749c0096cd6">position</a>; </div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#aa944602e60e4735b59b51a351e673205">  366</a></span>&#160;    uint32_t <a class="code" href="structec__slave__info__t.html#aa944602e60e4735b59b51a351e673205">vendor_id</a>; </div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a7cfe4847a1d2108726e2f811b17ae9ff">  367</a></span>&#160;    uint32_t <a class="code" href="structec__slave__info__t.html#a7cfe4847a1d2108726e2f811b17ae9ff">product_code</a>; </div><div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a228e2613b426dd2ec3796788aa0c5141">  368</a></span>&#160;    uint32_t <a class="code" href="structec__slave__info__t.html#a228e2613b426dd2ec3796788aa0c5141">revision_number</a>; </div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#abff228c0f3c4b869ba2624937b1ff89a">  369</a></span>&#160;    uint32_t <a class="code" href="structec__slave__info__t.html#abff228c0f3c4b869ba2624937b1ff89a">serial_number</a>; </div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#aaebdddfdbaa1be6b70fbfc455fe7f8dd">  370</a></span>&#160;    uint16_t <a class="code" href="structec__slave__info__t.html#aaebdddfdbaa1be6b70fbfc455fe7f8dd">alias</a>; </div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a48cbaae771c8dc5c818caea3db35ec52">  371</a></span>&#160;    int16_t <a class="code" href="structec__slave__info__t.html#a48cbaae771c8dc5c818caea3db35ec52">current_on_ebus</a>; </div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    <span class="keyword">struct </span>{</div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#ac48f62ba6858bbbf0c0238858667e2d2">  373</a></span>&#160;        <a class="code" href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">ec_slave_port_desc_t</a> <a class="code" href="structec__slave__info__t.html#ac48f62ba6858bbbf0c0238858667e2d2">desc</a>; </div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a9d7a2d7fa4ff23cdf6c8c842f484e904">  374</a></span>&#160;        <a class="code" href="structec__slave__port__link__t.html">ec_slave_port_link_t</a> <a class="code" href="structec__slave__info__t.html#a9d7a2d7fa4ff23cdf6c8c842f484e904">link</a>; </div><div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#aedf2a04fab36cffaff880d42a3776c35">  375</a></span>&#160;        uint32_t <a class="code" href="structec__slave__info__t.html#aedf2a04fab36cffaff880d42a3776c35">receive_time</a>; </div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a613d9a5dfd21667e9b4f21ed435b760a">  377</a></span>&#160;        uint16_t <a class="code" href="structec__slave__info__t.html#a613d9a5dfd21667e9b4f21ed435b760a">next_slave</a>; </div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a1ba1f3946bd5c56275f929bb0bd0ba0c">  379</a></span>&#160;        uint32_t <a class="code" href="structec__slave__info__t.html#a1ba1f3946bd5c56275f929bb0bd0ba0c">delay_to_next_dc</a>; </div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    } ports[<a class="code" href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">EC_MAX_PORTS</a>]; </div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a769449958ad04e2a7eb6c27d0052d1cf">  381</a></span>&#160;    uint8_t <a class="code" href="structec__slave__info__t.html#a769449958ad04e2a7eb6c27d0052d1cf">al_state</a>; </div><div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#a37c3c84b314c3d8636fb9da670721d33">  382</a></span>&#160;    uint8_t <a class="code" href="structec__slave__info__t.html#a37c3c84b314c3d8636fb9da670721d33">error_flag</a>; </div><div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#aed1ca44de274226ae39ba19e4243a907">  383</a></span>&#160;    uint8_t <a class="code" href="structec__slave__info__t.html#aed1ca44de274226ae39ba19e4243a907">sync_count</a>; </div><div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#ad5b269e24db07fd6721d4df031515bc0">  384</a></span>&#160;    uint16_t <a class="code" href="structec__slave__info__t.html#ad5b269e24db07fd6721d4df031515bc0">sdo_count</a>; </div><div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="structec__slave__info__t.html#ad1ff91d12fdc13b813ab69b657a7249c">  385</a></span>&#160;    <span class="keywordtype">char</span> name[<a class="code" href="group__ApplicationInterface.html#gad1811128dd257dd7f5bb7a11724a638e">EC_MAX_STRING_LENGTH</a>]; </div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;} <a class="code" href="structec__slave__info__t.html">ec_slave_info_t</a>;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga00daf142097ba5eb8b58b996a8a730af">  394</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa8dff19321b05e9aed5ffc41c25ea3de2">  395</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa8dff19321b05e9aed5ffc41c25ea3de2">EC_WC_ZERO</a> = 0,   </div><div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afaef084e88705396b87feea4e9dca38c22">  396</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afaef084e88705396b87feea4e9dca38c22">EC_WC_INCOMPLETE</a>, </div><div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa46aaefd30aadeede4109b23491d0077f">  398</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa46aaefd30aadeede4109b23491d0077f">EC_WC_COMPLETE</a>    </div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;} <a class="code" href="group__ApplicationInterface.html#ga00daf142097ba5eb8b58b996a8a730af">ec_wc_state_t</a>;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="structec__domain__state__t.html">  407</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="structec__domain__state__t.html#a6246d096eb6a38af58b454e40fa89b59">  408</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__domain__state__t.html#a6246d096eb6a38af58b454e40fa89b59">working_counter</a>; </div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="structec__domain__state__t.html#a51f6fe3b5da92cd4d5851a324415f9d7">  409</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ga00daf142097ba5eb8b58b996a8a730af">ec_wc_state_t</a> <a class="code" href="structec__domain__state__t.html#a51f6fe3b5da92cd4d5851a324415f9d7">wc_state</a>; </div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="structec__domain__state__t.html#a8a0852a6265bd22b1178934542273714">  410</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__domain__state__t.html#a8a0852a6265bd22b1178934542273714">redundancy_active</a>; </div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;} <a class="code" href="structec__domain__state__t.html">ec_domain_state_t</a>;</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">  417</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a1d65420e76eb63b731b1148054c40054">  418</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a1d65420e76eb63b731b1148054c40054">EC_DIR_INVALID</a>, </div><div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1aebf26f1d5c09cf002af5b09d9cb59b78">  419</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1aebf26f1d5c09cf002af5b09d9cb59b78">EC_DIR_OUTPUT</a>, </div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a6b3c6b53010076d846724fec434512e4">  420</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a6b3c6b53010076d846724fec434512e4">EC_DIR_INPUT</a>, </div><div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a4e496ac3681435d672c73b2198b5ca4d">  421</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a4e496ac3681435d672c73b2198b5ca4d">EC_DIR_COUNT</a> </div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;} <a class="code" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a>;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">  430</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177a067dbac72731bbc99525c11777552703">  431</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177a067dbac72731bbc99525c11777552703">EC_WD_DEFAULT</a>, </div><div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177aee16c13a5ec3c6105a41a1d4c562e82d">  432</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177aee16c13a5ec3c6105a41a1d4c562e82d">EC_WD_ENABLE</a>, </div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177adfee5b587c2fac3791f4b13ccd64645a">  433</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177adfee5b587c2fac3791f4b13ccd64645a">EC_WD_DISABLE</a>, </div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;} <a class="code" href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">ec_watchdog_mode_t</a>;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;</div><div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="structec__pdo__entry__info__t.html">  444</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="structec__pdo__entry__info__t.html#afce51f4c58abe5d43b41b2edaa60707c">  445</a></span>&#160;    uint16_t <a class="code" href="structec__pdo__entry__info__t.html#afce51f4c58abe5d43b41b2edaa60707c">index</a>; </div><div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="structec__pdo__entry__info__t.html#a8547bec4e178409bdc8090ddd7e97c05">  446</a></span>&#160;    uint8_t <a class="code" href="structec__pdo__entry__info__t.html#a8547bec4e178409bdc8090ddd7e97c05">subindex</a>; </div><div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="structec__pdo__entry__info__t.html#a87da50fb38483fd43e88721f6b99033c">  447</a></span>&#160;    uint8_t <a class="code" href="structec__pdo__entry__info__t.html#a87da50fb38483fd43e88721f6b99033c">bit_length</a>; </div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;} <a class="code" href="structec__pdo__entry__info__t.html">ec_pdo_entry_info_t</a>;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="structec__pdo__info__t.html">  458</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="structec__pdo__info__t.html#a90f9554694041aefded6f069e0b003d3">  459</a></span>&#160;    uint16_t <a class="code" href="structec__pdo__info__t.html#a90f9554694041aefded6f069e0b003d3">index</a>; </div><div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="structec__pdo__info__t.html#a64eb03ac59c0d0cb771b6c32bf52de74">  460</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__pdo__info__t.html#a64eb03ac59c0d0cb771b6c32bf52de74">n_entries</a>; </div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="structec__pdo__info__t.html#a625680a1ef38138a5d0298c70ba6f4b1">  464</a></span>&#160;    <a class="code" href="structec__pdo__entry__info__t.html">ec_pdo_entry_info_t</a> *<a class="code" href="structec__pdo__info__t.html#a625680a1ef38138a5d0298c70ba6f4b1">entries</a>; </div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;} <a class="code" href="structec__pdo__info__t.html">ec_pdo_info_t</a>;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;</div><div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html">  477</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html#a87956061ffbec80e40b2aa7a3c65791c">  478</a></span>&#160;    uint8_t <a class="code" href="structec__sync__info__t.html#a87956061ffbec80e40b2aa7a3c65791c">index</a>; </div><div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html#a30a8f40bfcbda77239378f0cef039c70">  481</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a> <a class="code" href="structec__sync__info__t.html#a30a8f40bfcbda77239378f0cef039c70">dir</a>; </div><div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html#a25e3f4601c01b018bef363e3f3a3d38d">  482</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__sync__info__t.html#a25e3f4601c01b018bef363e3f3a3d38d">n_pdos</a>; </div><div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html#a1a9322a8f1da38ce383542374108b76d">  483</a></span>&#160;    <a class="code" href="structec__pdo__info__t.html">ec_pdo_info_t</a> *<a class="code" href="structec__sync__info__t.html#a1a9322a8f1da38ce383542374108b76d">pdos</a>; </div><div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="structec__sync__info__t.html#abeb91973efe10dd69ce8fb57135e8253">  485</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">ec_watchdog_mode_t</a> <a class="code" href="structec__sync__info__t.html#abeb91973efe10dd69ce8fb57135e8253">watchdog_mode</a>; </div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;} <a class="code" href="structec__sync__info__t.html">ec_sync_info_t</a>;</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div><div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html">  495</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#aea36bf4b1e0e8d3c6beb1a37d1dc3984">  496</a></span>&#160;    uint16_t <a class="code" href="structec__pdo__entry__reg__t.html#aea36bf4b1e0e8d3c6beb1a37d1dc3984">alias</a>; </div><div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#afe179c830ad801c523b134c3ce26b18c">  497</a></span>&#160;    uint16_t <a class="code" href="structec__pdo__entry__reg__t.html#afe179c830ad801c523b134c3ce26b18c">position</a>; </div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#af71a5740f6dc961e0a1c27b1177a13ac">  498</a></span>&#160;    uint32_t <a class="code" href="structec__pdo__entry__reg__t.html#af71a5740f6dc961e0a1c27b1177a13ac">vendor_id</a>; </div><div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#a117b2375f0027b33279a7ba74af0f76f">  499</a></span>&#160;    uint32_t <a class="code" href="structec__pdo__entry__reg__t.html#a117b2375f0027b33279a7ba74af0f76f">product_code</a>; </div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#acc75e34bd3f6e3248b8c29ba2175c2d7">  500</a></span>&#160;    uint16_t <a class="code" href="structec__pdo__entry__reg__t.html#acc75e34bd3f6e3248b8c29ba2175c2d7">index</a>; </div><div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#ac3dab1cbb399a27e402962036fbf96e7">  501</a></span>&#160;    uint8_t <a class="code" href="structec__pdo__entry__reg__t.html#ac3dab1cbb399a27e402962036fbf96e7">subindex</a>; </div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#a6da6ce1d93fac99d55b647b53f96829b">  502</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<a class="code" href="structec__pdo__entry__reg__t.html#a6da6ce1d93fac99d55b647b53f96829b">offset</a>; </div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="structec__pdo__entry__reg__t.html#a83471245b0d0d9481575bffabfadc966">  504</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<a class="code" href="structec__pdo__entry__reg__t.html#a83471245b0d0d9481575bffabfadc966">bit_position</a>; </div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;} <a class="code" href="structec__pdo__entry__reg__t.html">ec_pdo_entry_reg_t</a>;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;</div><div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">  517</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa8a9e6590d04b31b12b03d7071d106cf5">  518</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa8a9e6590d04b31b12b03d7071d106cf5">EC_REQUEST_UNUSED</a>, </div><div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfad031578ebd61309cf3e0f618968fd3a2">  519</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfad031578ebd61309cf3e0f618968fd3a2">EC_REQUEST_BUSY</a>, </div><div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfab2473480381319839a822fc009aa0db5">  520</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfab2473480381319839a822fc009aa0db5">EC_REQUEST_SUCCESS</a>, </div><div class="line"><a name="l00521"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa870ae0f25d0f780ebcaac16c920f00e3">  521</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa870ae0f25d0f780ebcaac16c920f00e3">EC_REQUEST_ERROR</a>, </div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;} <a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a>;</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;</div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga18c064146090e45d36c05876c546caea">  528</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa1e8639024a180fdc380559b8f7a02b4f">  529</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa1e8639024a180fdc380559b8f7a02b4f">EC_AL_STATE_INIT</a> = 1, </div><div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaaf31a3511a6004d7909a71911a289681f">  530</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaaf31a3511a6004d7909a71911a289681f">EC_AL_STATE_PREOP</a> = 2, </div><div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaafb41d7398780a3f09ba2c19d624b2668">  531</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaafb41d7398780a3f09ba2c19d624b2668">EC_AL_STATE_SAFEOP</a> = 4, </div><div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa4f746cb4e141c28b8aeb9c6cfe78177e">  532</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa4f746cb4e141c28b8aeb9c6cfe78177e">EC_AL_STATE_OP</a> = 8, </div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;} <a class="code" href="group__ApplicationInterface.html#ga18c064146090e45d36c05876c546caea">ec_al_state_t</a>;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="comment"> * Global functions</span></div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;</div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga242aedc8a03b7c4d0121bc670b68bf5b">ecrt_version_magic</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;</div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;<a class="code" href="structec__master.html">ec_master_t</a> *<a class="code" href="group__ApplicationInterface.html#gafb85534b6fcba3fa1fab6c81173b2ed1">ecrt_request_master</a>(</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> master_index </div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;        );</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;<span class="preprocessor">#ifndef __KERNEL__</span></div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<a class="code" href="structec__master.html">ec_master_t</a> *ecrt_open_master(</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> master_index </div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;        );</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;</div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;<span class="preprocessor">#endif // #ifndef __KERNEL__</span></div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga64219721098ec5069eab27f1923de9ea">ecrt_release_master</a>(</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;        );</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;</div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;<span class="comment"> * Master methods</span></div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;<span class="preprocessor">#ifndef __KERNEL__</span></div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;<span class="keywordtype">int</span> ecrt_master_reserve(</div><div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;        );</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;<span class="preprocessor">#endif // #ifndef __KERNEL__</span></div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga644db1b4181bfe2943bb8fa81bd027f7">ecrt_master_callbacks</a>(</div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;        <span class="keywordtype">void</span> (*send_cb)(<span class="keywordtype">void</span> *), </div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;        <span class="keywordtype">void</span> (*receive_cb)(<span class="keywordtype">void</span> *), </div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;        <span class="keywordtype">void</span> *cb_data </div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;        );</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;</div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __KERNEL__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;<a class="code" href="structec__domain.html">ec_domain_t</a> *<a class="code" href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e">ecrt_master_create_domain</a>(</div><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        );</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;<a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *<a class="code" href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b">ecrt_master_slave_config</a>(</div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        uint16_t alias, </div><div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;        uint16_t position, </div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;        uint32_t vendor_id, </div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;        uint32_t product_code </div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        );</div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga31983aeee279fc5acaf5f7a0bb403160">ecrt_master_select_reference_clock</a>(</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc </div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        );</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaefdb3b2d46b945fa6ebd65c4c5f16b8b">ecrt_master</a>(</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;        <a class="code" href="structec__master__info__t.html">ec_master_info_t</a> *master_info </div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;        );</div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga8a1a9398f7c1e17e4da8243fe03a7a80">ecrt_master_get_slave</a>(</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;        <a class="code" href="structec__slave__info__t.html">ec_slave_info_t</a> *slave_info </div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;        );</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;</div><div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;<span class="preprocessor">#ifndef __KERNEL__</span></div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;<span class="keywordtype">int</span> ecrt_master_get_sync_manager(</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        <a class="code" href="structec__sync__info__t.html">ec_sync_info_t</a> *sync </div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        );</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="keywordtype">int</span> ecrt_master_get_pdo(</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        uint16_t pos, </div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        <a class="code" href="structec__pdo__info__t.html">ec_pdo_info_t</a> *pdo </div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        );</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;</div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;<span class="keywordtype">int</span> ecrt_master_get_pdo_entry(</div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;        uint16_t pdo_pos, </div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;        uint16_t entry_pos, </div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        <a class="code" href="structec__pdo__entry__info__t.html">ec_pdo_entry_info_t</a> *entry </div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        );</div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;</div><div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* #ifndef __KERNEL__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga52ec1296b7c6c21e86b906ef4edc6208">ecrt_master_sdo_download</a>(</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;        uint16_t index, </div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        uint8_t subindex, </div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;        uint8_t *<a class="code" href="structec__reg__request.html#a55590fb9ebef4fad289a981e5e798f29">data</a>, </div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;        <span class="keywordtype">size_t</span> data_size, </div><div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;        uint32_t *abort_code </div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;        );</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga357ce803ce5e7a8e59f14bf3eaf11439">ecrt_master_sdo_download_complete</a>(</div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;        uint16_t index, </div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;        uint8_t *data, </div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;        <span class="keywordtype">size_t</span> data_size, </div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;        uint32_t *abort_code </div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;        );</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga8d6d538e803530ac104c9bf2d37a24c4">ecrt_master_sdo_upload</a>(</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;        uint16_t index, </div><div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;        uint8_t subindex, </div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;        uint8_t *target, </div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;        <span class="keywordtype">size_t</span> target_size, </div><div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;        <span class="keywordtype">size_t</span> *result_size, </div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;        uint32_t *abort_code </div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;        );</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;</div><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga5ddd58b7a66b774b6037edbc50c73293">ecrt_master_write_idn</a>(</div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;        uint8_t drive_no, </div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        uint16_t idn, </div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;        uint8_t *data, </div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;        <span class="keywordtype">size_t</span> data_size, </div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;        uint16_t *error_code </div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;        );</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gacd875ea0739ebb3524269070d9357c4b">ecrt_master_read_idn</a>(</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;        uint16_t slave_position, </div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;        uint8_t drive_no, </div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;        uint16_t idn, </div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;        uint8_t *target, </div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;        <span class="keywordtype">size_t</span> target_size, </div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;        <span class="keywordtype">size_t</span> *result_size, </div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;        uint16_t *error_code </div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;        );</div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaa44bdeca52f4e821838f4291637103ac">ecrt_master_activate</a>(</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;        );</div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga46b3fe78742ddf929b624103432ec4dd">ecrt_master_deactivate</a>(</div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;        );</div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;</div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gae316a920dba8c28e14138b4bf394c230">ecrt_master_set_send_interval</a>(</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;        <span class="keywordtype">size_t</span> send_interval </div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;        );</div><div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga453f787866ee66afb98130cf4723762d">ecrt_master_send</a>(</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;        );</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;</div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga9544e79db51c59a96af6493025cdc933">ecrt_master_receive</a>(</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;        );</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;</div><div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga62360cb642f555269d64df1111f6c771">ecrt_master_send_ext</a>(</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;        );</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga9f623ede71e87dd0e9d6ab87086f0d4f">ecrt_master_state</a>(</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;        <a class="code" href="structec__master__state__t.html">ec_master_state_t</a> *<a class="code" href="structec__reg__request.html#adfba6eddfd79740eae02362347093120">state</a> </div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;        );</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga90c4d1a88ecc1f3a49ba73dad4efdb14">ecrt_master_link_state</a>(</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> dev_idx, </div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;        <a class="code" href="structec__master__link__state__t.html">ec_master_link_state_t</a> *state </div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;        );</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga567ccc15f09d5722fd6269f297b72a58">ecrt_master_application_time</a>(</div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;        uint64_t app_time </div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;        );</div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gabdc6735565f209d8ab8473f34617a526">ecrt_master_sync_reference_clock</a>(</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;        );</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gadb8b8f705803689e789f022b01eb8deb">ecrt_master_sync_slave_clocks</a>(</div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;        );</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaefb582f13442ef8b770fd308b8de949c">ecrt_master_reference_clock_time</a>(</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master, </div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;        uint32_t *time </div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;        );</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga3df6e34876cbad6e3e2a4d51ec1ba812">ecrt_master_sync_monitor_queue</a>(</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;        );</div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;</div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;uint32_t <a class="code" href="group__ApplicationInterface.html#ga0a0b4bef9b058f9a7752878f7c07cdf3">ecrt_master_sync_monitor_process</a>(</div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;        );</div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;</div><div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gab6455adf50e074c51894113adb49e00c">ecrt_master_reset</a>(</div><div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;        <a class="code" href="structec__master.html">ec_master_t</a> *master </div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;        );</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;</div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;<span class="comment"> * Slave configuration methods</span></div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga4ac6eae111bdbf1d4cd09fa2f965a887">ecrt_slave_config_sync_manager</a>(</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;        <a class="code" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a> direction, </div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;        <a class="code" href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">ec_watchdog_mode_t</a> watchdog_mode </div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;        );</div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gaba67c3e575110297f9fdcffad573d367">ecrt_slave_config_watchdog</a>(</div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;        uint16_t watchdog_divider, </div><div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;        uint16_t watchdog_intervals </div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;        );</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaef2958fe19c088978857e7b91f692630">ecrt_slave_config_pdo_assign_add</a>(</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;        uint16_t index </div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;        );</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gafc2fb2a662bd8129dea5330e5e313b5f">ecrt_slave_config_pdo_assign_clear</a>(</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;        uint8_t sync_index </div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;        );</div><div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;</div><div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga3a0f83e1c3e3edf978b3017f94cc375d">ecrt_slave_config_pdo_mapping_add</a>(</div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;        uint16_t pdo_index, </div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;        uint16_t entry_index, </div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;        uint8_t entry_subindex, </div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;        uint8_t entry_bit_length </div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;        );</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga8496abee3bd32fec5ffd74bf4705cc53">ecrt_slave_config_pdo_mapping_clear</a>(</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;        uint16_t pdo_index </div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;        );</div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga7bc2683699a5c0c551f0cfdc90c1a559">ecrt_slave_config_pdos</a>(</div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n_syncs, </div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__sync__info__t.html">ec_sync_info_t</a> syncs[] </div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;        );</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga44fe6bd549328c34ca4ed6893765206f">ecrt_slave_config_reg_pdo_entry</a>(</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;        uint16_t entry_index, </div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;        uint8_t entry_subindex, </div><div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain, </div><div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *bit_position </div><div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;        );</div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga757fd3d421f1ded8ee310c4698afb8ba">ecrt_slave_config_reg_pdo_entry_pos</a>(</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;        uint8_t sync_index, </div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pdo_pos, </div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entry_pos, </div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain, </div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *bit_position </div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;        );</div><div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160;</div><div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga05858fdb5052dfb1161a81d2f8beb553">ecrt_slave_config_dc</a>(</div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;        uint16_t assign_activate, </div><div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;        uint32_t sync0_cycle, </div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;        int32_t sync0_shift, </div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;        uint32_t sync1_cycle, </div><div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;        int32_t sync1_shift </div><div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;        );</div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;</div><div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gacf5b3147d6fa082ed73417cf7aa4e240">ecrt_slave_config_sdo</a>(</div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;        uint16_t index, </div><div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;        uint8_t subindex, </div><div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>&#160;        <span class="keyword">const</span> uint8_t *data, </div><div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;        );</div><div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga93e038f9065d20ea3fa5738c495f0ae5">ecrt_slave_config_sdo8</a>(</div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;        uint16_t sdo_index, </div><div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;        uint8_t sdo_subindex, </div><div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;        uint8_t value </div><div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160;        );</div><div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;</div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaacb7fefc226e3a3c0225c39d233d2fa8">ecrt_slave_config_sdo16</a>(</div><div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;        uint16_t sdo_index, </div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160;        uint8_t sdo_subindex, </div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;        uint16_t value </div><div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;        );</div><div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;</div><div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga0a87e59a5448389907652ddb2f5768fd">ecrt_slave_config_sdo32</a>(</div><div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;        uint16_t sdo_index, </div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;        uint8_t sdo_subindex, </div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;        uint32_t value </div><div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;        );</div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;</div><div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga4231948c36c707fd5bc95e2e813ff7af">ecrt_slave_config_complete_sdo</a>(</div><div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;        uint16_t index, </div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;        <span class="keyword">const</span> uint8_t *data, </div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;        );</div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;</div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gae2540078423afe6763c5b7a2554f30bf">ecrt_slave_config_emerg_size</a>(</div><div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160;        <span class="keywordtype">size_t</span> elements </div><div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;        );</div><div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;</div><div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#ga6b58a60d15afe8bab546a766653f227f">ecrt_slave_config_emerg_pop</a>(</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;        uint8_t *target </div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;        );</div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;</div><div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gad61c6ab7adf19f18953f34c8132c30a7">ecrt_slave_config_emerg_clear</a>(</div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc </div><div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160;        );</div><div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;</div><div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gad47666902ef543c1233a8fafcaa9e321">ecrt_slave_config_emerg_overruns</a>(</div><div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc </div><div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;        );</div><div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160;</div><div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160;<a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *<a class="code" href="group__ApplicationInterface.html#ga14aa167c0d4afd84b0fbada417a204f1">ecrt_slave_config_create_sdo_request</a>(</div><div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160;        uint16_t index, </div><div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;        uint8_t subindex, </div><div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;        );</div><div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;<a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *<a class="code" href="group__ApplicationInterface.html#ga6341627f6bf764312dd6e8c3140e9be1">ecrt_slave_config_create_voe_handler</a>(</div><div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160;        );</div><div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160;</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;<a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *<a class="code" href="group__ApplicationInterface.html#ga1805e57c39e7bb12840c5e2589021dbe">ecrt_slave_config_create_reg_request</a>(</div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160;        );</div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;</div><div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga6b99c8912ed48a4ddce3d9470083dee1">ecrt_slave_config_state</a>(</div><div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;        <a class="code" href="structec__slave__config__state__t.html">ec_slave_config_state_t</a> *state </div><div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;        );</div><div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;</div><div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaa3d42e8188c64eaf794e8dc91a61b60b">ecrt_slave_config_idn</a>(</div><div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;        <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *sc, </div><div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;        uint8_t drive_no, </div><div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;        uint16_t idn, </div><div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;        <a class="code" href="group__ApplicationInterface.html#ga18c064146090e45d36c05876c546caea">ec_al_state_t</a> state, </div><div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;        <span class="keyword">const</span> uint8_t *data, </div><div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;        );</div><div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;</div><div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;<span class="comment"> * Domain methods</span></div><div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;</div><div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ApplicationInterface.html#gaa34bed589e356727aaf0bc7ceee0ed57">ecrt_domain_reg_pdo_entry_list</a>(</div><div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain, </div><div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__pdo__entry__reg__t.html">ec_pdo_entry_reg_t</a> *pdo_entry_regs </div><div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>&#160;        );</div><div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;</div><div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="group__ApplicationInterface.html#gadc492ba8af1b53bfec60748c441f7a10">ecrt_domain_size</a>(</div><div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__domain.html">ec_domain_t</a> *domain </div><div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>&#160;        );</div><div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160;</div><div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;</div><div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gaafe96aea4c5babcfe433f41e0c84a165">ecrt_domain_external_memory</a>(</div><div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain, </div><div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>&#160;        uint8_t *memory </div><div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;        );</div><div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>&#160;</div><div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __KERNEL__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;</div><div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>&#160;uint8_t *<a class="code" href="group__ApplicationInterface.html#ga701738b03629d552c15c2cdd9b7b99c2">ecrt_domain_data</a>(</div><div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain </div><div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>&#160;        );</div><div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>&#160;</div><div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gace65c0f94caa798d1f5930c1317dfd5c">ecrt_domain_process</a>(</div><div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain </div><div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;        );</div><div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>&#160;</div><div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga5367e6982fae333765231a2c50579a96">ecrt_domain_queue</a>(</div><div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;        <a class="code" href="structec__domain.html">ec_domain_t</a> *domain </div><div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;        );</div><div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160;</div><div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gaab8fdd6b9dc3f33d22800d8c517f864a">ecrt_domain_state</a>(</div><div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__domain.html">ec_domain_t</a> *domain, </div><div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;        <a class="code" href="structec__domain__state__t.html">ec_domain_state_t</a> *state </div><div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;        );</div><div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;</div><div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;<span class="comment">/*****************************************************************************</span></div><div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>&#160;<span class="comment"> * SDO request methods.</span></div><div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160;<span class="comment"> ****************************************************************************/</span></div><div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;</div><div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gae002eb267f69d91de0c83a5f4f349372">ecrt_sdo_request_index</a>(</div><div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req, </div><div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;        uint16_t index, </div><div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;        uint8_t subindex </div><div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;        );</div><div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;</div><div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gae5018a122570d50568b32211d79f00ff">ecrt_sdo_request_timeout</a>(</div><div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req, </div><div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160;        uint32_t timeout </div><div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;        );</div><div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;</div><div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;uint8_t *<a class="code" href="group__ApplicationInterface.html#ga70b875084a32b81579bf83c960390967">ecrt_sdo_request_data</a>(</div><div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;        );</div><div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;</div><div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="group__ApplicationInterface.html#ga8de1a948ed0cfa5a9478d2050c2560da">ecrt_sdo_request_data_size</a>(</div><div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;        );</div><div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;</div><div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;<a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a> <a class="code" href="group__ApplicationInterface.html#ga78d910487f583e333cdf978b4f12c3c1">ecrt_sdo_request_state</a>(</div><div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;    );</div><div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;<a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a> <a class="code" href="group__ApplicationInterface.html#ga78d910487f583e333cdf978b4f12c3c1">ecrt_sdo_request_state</a>(</div><div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;    );</div><div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;</div><div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gaf0e5a35aa54d971d75a6d00c148ffa83">ecrt_sdo_request_write</a>(</div><div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;        );</div><div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160;</div><div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga883e43ca2b29e73ac5ec5dec214487b2">ecrt_sdo_request_read</a>(</div><div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;        <a class="code" href="structec__sdo__request.html">ec_sdo_request_t</a> *req </div><div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;        );</div><div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;</div><div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;<span class="comment">/*****************************************************************************</span></div><div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;<span class="comment"> * VoE handler methods.</span></div><div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;<span class="comment"> ****************************************************************************/</span></div><div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160;</div><div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga0b19acf8409e13630e7525f571659744">ecrt_voe_handler_send_header</a>(</div><div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160;        <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe, </div><div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;        uint32_t vendor_id, </div><div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>&#160;        uint16_t vendor_type </div><div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;        );</div><div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;</div><div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gaad5d4056c54c6189a6f5d16bebd46306">ecrt_voe_handler_received_header</a>(</div><div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe, </div><div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;        uint32_t *vendor_id, </div><div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;        uint16_t *vendor_type </div><div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;        );</div><div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;</div><div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;uint8_t *<a class="code" href="group__ApplicationInterface.html#ga4e08667772cb5ca889324d3a5c0d4b26">ecrt_voe_handler_data</a>(</div><div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;        <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe </div><div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;        );</div><div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;</div><div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="group__ApplicationInterface.html#gaabc36254a5c0f0ff3aec0ead3d4ecc96">ecrt_voe_handler_data_size</a>(</div><div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe </div><div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;        );</div><div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;</div><div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga1bcfdf71d8d8632c26c07beb17374971">ecrt_voe_handler_write</a>(</div><div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160;        <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe, </div><div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;        );</div><div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;</div><div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga71bc42fb7cb1bd008303bb79df11312e">ecrt_voe_handler_read</a>(</div><div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;        <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe </div><div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160;        );</div><div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;</div><div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gad0bc75bb57e280a55b0e9d31c0f06f71">ecrt_voe_handler_read_nosync</a>(</div><div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;        <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe </div><div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;        );</div><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;</div><div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;<a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a> <a class="code" href="group__ApplicationInterface.html#ga26c45ec21428d91704016494cb5a38ae">ecrt_voe_handler_execute</a>(</div><div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>&#160;    <a class="code" href="structec__voe__handler.html">ec_voe_handler_t</a> *voe </div><div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;    );</div><div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;</div><div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;<span class="comment">/*****************************************************************************</span></div><div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;<span class="comment"> * Register request methods.</span></div><div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160;<span class="comment"> ****************************************************************************/</span></div><div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;</div><div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;uint8_t *<a class="code" href="group__ApplicationInterface.html#gaecfbefc3410396bd5ca5f14c489ea838">ecrt_reg_request_data</a>(</div><div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>&#160;        <a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *req </div><div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>&#160;        );</div><div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>&#160;</div><div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;<a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a> <a class="code" href="group__ApplicationInterface.html#gac7fc3bbec83497a78b7b075e41eb26e4">ecrt_reg_request_state</a>(</div><div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;        <span class="keyword">const</span> <a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *req </div><div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>&#160;    );</div><div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;<a class="code" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a> <a class="code" href="group__ApplicationInterface.html#gac7fc3bbec83497a78b7b075e41eb26e4">ecrt_reg_request_state</a>(</div><div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>&#160;        <a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *req </div><div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;    );</div><div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>&#160;</div><div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#ga3c12de18886ffb7aaeb7ac364a7f2034">ecrt_reg_request_write</a>(</div><div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;        <a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *req, </div><div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160;        uint16_t <a class="code" href="structec__reg__request.html#aa6f44f4a9851e291726cbc92f7c099fa">address</a>, </div><div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;        );</div><div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160;</div><div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ApplicationInterface.html#gad8da153df44d98812c897c56cabe1e84">ecrt_reg_request_read</a>(</div><div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>&#160;        <a class="code" href="structec__reg__request.html">ec_reg_request_t</a> *req, </div><div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>&#160;        uint16_t address, </div><div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;        <span class="keywordtype">size_t</span> size </div><div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160;        );</div><div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>&#160;</div><div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160;</div><div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160;}</div><div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>&#160;</div><div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>&#160;<span class="comment"> * Bitwise read/write macros</span></div><div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160;</div><div class="line"><a name="l02042"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga45bf3a61139e93c31b442b25d958e8a0"> 2042</a></span>&#160;<span class="preprocessor">#define EC_READ_BIT(DATA, POS) ((*((uint8_t *) (DATA)) &gt;&gt; (POS)) &amp; 0x01)</span></div><div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160;</div><div class="line"><a name="l02050"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gad34ea4baad01f48e2fe114624c994ae2"> 2050</a></span>&#160;<span class="preprocessor">#define EC_WRITE_BIT(DATA, POS, VAL) \</span></div><div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160;<span class="preprocessor">        if (VAL) *((uint8_t *) (DATA)) |=  (1 &lt;&lt; (POS)); \</span></div><div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160;<span class="preprocessor">        else     *((uint8_t *) (DATA)) &amp;= ~(1 &lt;&lt; (POS)); \</span></div><div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160;</div><div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;<span class="comment"> * Byte-swapping functions for user space</span></div><div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;</div><div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160;<span class="preprocessor">#ifndef __KERNEL__</span></div><div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160;</div><div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>&#160;<span class="preprocessor">#if __BYTE_ORDER == __LITTLE_ENDIAN</span></div><div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>&#160;</div><div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>&#160;<span class="preprocessor">#define le16_to_cpu(x) x</span></div><div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>&#160;<span class="preprocessor">#define le32_to_cpu(x) x</span></div><div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>&#160;<span class="preprocessor">#define le64_to_cpu(x) x</span></div><div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160;</div><div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160;<span class="preprocessor">#define cpu_to_le16(x) x</span></div><div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>&#160;<span class="preprocessor">#define cpu_to_le32(x) x</span></div><div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160;<span class="preprocessor">#define cpu_to_le64(x) x</span></div><div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160;</div><div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160;<span class="preprocessor">#elif __BYTE_ORDER == __BIG_ENDIAN</span></div><div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160;</div><div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>&#160;<span class="preprocessor">#define swap16(x) \</span></div><div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160;<span class="preprocessor">        ((uint16_t)( \</span></div><div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160;<span class="preprocessor">        (((uint16_t)(x) &amp; 0x00ffU) &lt;&lt; 8) | \</span></div><div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>&#160;<span class="preprocessor">        (((uint16_t)(x) &amp; 0xff00U) &gt;&gt; 8) ))</span></div><div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160;<span class="preprocessor">#define swap32(x) \</span></div><div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160;<span class="preprocessor">        ((uint32_t)( \</span></div><div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160;<span class="preprocessor">        (((uint32_t)(x) &amp; 0x000000ffUL) &lt;&lt; 24) | \</span></div><div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160;<span class="preprocessor">        (((uint32_t)(x) &amp; 0x0000ff00UL) &lt;&lt;  8) | \</span></div><div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;<span class="preprocessor">        (((uint32_t)(x) &amp; 0x00ff0000UL) &gt;&gt;  8) | \</span></div><div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;<span class="preprocessor">        (((uint32_t)(x) &amp; 0xff000000UL) &gt;&gt; 24) ))</span></div><div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;<span class="preprocessor">#define swap64(x) \</span></div><div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160;<span class="preprocessor">        ((uint64_t)( \</span></div><div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x00000000000000ffULL) &lt;&lt; 56) | \</span></div><div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x000000000000ff00ULL) &lt;&lt; 40) | \</span></div><div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x0000000000ff0000ULL) &lt;&lt; 24) | \</span></div><div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x00000000ff000000ULL) &lt;&lt;  8) | \</span></div><div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x000000ff00000000ULL) &gt;&gt;  8) | \</span></div><div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x0000ff0000000000ULL) &gt;&gt; 24) | \</span></div><div class="line"><a name="l02092"></a><span class="lineno"> 2092</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0x00ff000000000000ULL) &gt;&gt; 40) | \</span></div><div class="line"><a name="l02093"></a><span class="lineno"> 2093</span>&#160;<span class="preprocessor">        (((uint64_t)(x) &amp; 0xff00000000000000ULL) &gt;&gt; 56) ))</span></div><div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>&#160;</div><div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>&#160;<span class="preprocessor">#define le16_to_cpu(x) swap16(x)</span></div><div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;<span class="preprocessor">#define le32_to_cpu(x) swap32(x)</span></div><div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;<span class="preprocessor">#define le64_to_cpu(x) swap64(x)</span></div><div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;</div><div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160;<span class="preprocessor">#define cpu_to_le16(x) swap16(x)</span></div><div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160;<span class="preprocessor">#define cpu_to_le32(x) swap32(x)</span></div><div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>&#160;<span class="preprocessor">#define cpu_to_le64(x) swap64(x)</span></div><div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>&#160;</div><div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>&#160;</div><div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;<span class="preprocessor">#define le16_to_cpup(x) le16_to_cpu(*((uint16_t *)(x)))</span></div><div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;<span class="preprocessor">#define le32_to_cpup(x) le32_to_cpu(*((uint32_t *)(x)))</span></div><div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;<span class="preprocessor">#define le64_to_cpup(x) le64_to_cpu(*((uint64_t *)(x)))</span></div><div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160;</div><div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ifndef __KERNEL__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>&#160;</div><div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160;<span class="comment"> * Read macros</span></div><div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160;</div><div class="line"><a name="l02119"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gabfd606064b98475fc6cbe52aea6b5133"> 2119</a></span>&#160;<span class="preprocessor">#define EC_READ_U8(DATA) \</span></div><div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>&#160;<span class="preprocessor">    ((uint8_t) *((uint8_t *) (DATA)))</span></div><div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160;</div><div class="line"><a name="l02127"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga9fe458e3d365a499db3a93e72164a2f6"> 2127</a></span>&#160;<span class="preprocessor">#define EC_READ_S8(DATA) \</span></div><div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160;<span class="preprocessor">     ((int8_t) *((uint8_t *) (DATA)))</span></div><div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>&#160;</div><div class="line"><a name="l02135"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaa78148947379983986940d1980ac3db1"> 2135</a></span>&#160;<span class="preprocessor">#define EC_READ_U16(DATA) \</span></div><div class="line"><a name="l02136"></a><span class="lineno"> 2136</span>&#160;<span class="preprocessor">     ((uint16_t) le16_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>&#160;</div><div class="line"><a name="l02143"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga390de258c11aac1db1dba2444a69ddc3"> 2143</a></span>&#160;<span class="preprocessor">#define EC_READ_S16(DATA) \</span></div><div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160;<span class="preprocessor">     ((int16_t) le16_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160;</div><div class="line"><a name="l02151"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaca608a732bed6f11ddfdf073e8c3a80d"> 2151</a></span>&#160;<span class="preprocessor">#define EC_READ_U32(DATA) \</span></div><div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160;<span class="preprocessor">     ((uint32_t) le32_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160;</div><div class="line"><a name="l02159"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga0ba3560f47cd32bcb5842a4a21f1457d"> 2159</a></span>&#160;<span class="preprocessor">#define EC_READ_S32(DATA) \</span></div><div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160;<span class="preprocessor">     ((int32_t) le32_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>&#160;</div><div class="line"><a name="l02167"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gab91748e9aa6003a8f814169c90e90182"> 2167</a></span>&#160;<span class="preprocessor">#define EC_READ_U64(DATA) \</span></div><div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>&#160;<span class="preprocessor">     ((uint64_t) le64_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>&#160;</div><div class="line"><a name="l02175"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gac19a77ff73490a105e72552c357136ed"> 2175</a></span>&#160;<span class="preprocessor">#define EC_READ_S64(DATA) \</span></div><div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>&#160;<span class="preprocessor">     ((int64_t) le64_to_cpup((void *) (DATA)))</span></div><div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>&#160;</div><div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160;<span class="comment"> * Write macros</span></div><div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>&#160;</div><div class="line"><a name="l02187"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga42e7df5376954bc1cf1dde11fbf17387"> 2187</a></span>&#160;<span class="preprocessor">#define EC_WRITE_U8(DATA, VAL) \</span></div><div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>&#160;<span class="preprocessor">        *((uint8_t *)(DATA)) = ((uint8_t) (VAL)); \</span></div><div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>&#160;</div><div class="line"><a name="l02197"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga9bae1ebdd914c235c1178fe8eee19aa7"> 2197</a></span>&#160;<span class="preprocessor">#define EC_WRITE_S8(DATA, VAL) EC_WRITE_U8(DATA, VAL)</span></div><div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>&#160;</div><div class="line"><a name="l02204"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gace219530ddd83f5f3f54d5b329b94a3d"> 2204</a></span>&#160;<span class="preprocessor">#define EC_WRITE_U16(DATA, VAL) \</span></div><div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160;<span class="preprocessor">        *((uint16_t *) (DATA)) = cpu_to_le16((uint16_t) (VAL)); \</span></div><div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160;</div><div class="line"><a name="l02214"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gaef851d843ec4ba3fd6109185d56946fc"> 2214</a></span>&#160;<span class="preprocessor">#define EC_WRITE_S16(DATA, VAL) EC_WRITE_U16(DATA, VAL)</span></div><div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>&#160;</div><div class="line"><a name="l02221"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga9558cb79cc4015da0a551704649d1e80"> 2221</a></span>&#160;<span class="preprocessor">#define EC_WRITE_U32(DATA, VAL) \</span></div><div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>&#160;<span class="preprocessor">        *((uint32_t *) (DATA)) = cpu_to_le32((uint32_t) (VAL)); \</span></div><div class="line"><a name="l02224"></a><span class="lineno"> 2224</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>&#160;</div><div class="line"><a name="l02231"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga233dd5af48da2bc1b1d1374851fac018"> 2231</a></span>&#160;<span class="preprocessor">#define EC_WRITE_S32(DATA, VAL) EC_WRITE_U32(DATA, VAL)</span></div><div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160;</div><div class="line"><a name="l02238"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#gac2186e4bce70f3ba61c76fe5d1ddd2a6"> 2238</a></span>&#160;<span class="preprocessor">#define EC_WRITE_U64(DATA, VAL) \</span></div><div class="line"><a name="l02239"></a><span class="lineno"> 2239</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l02240"></a><span class="lineno"> 2240</span>&#160;<span class="preprocessor">        *((uint64_t *) (DATA)) = cpu_to_le64((uint64_t) (VAL)); \</span></div><div class="line"><a name="l02241"></a><span class="lineno"> 2241</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>&#160;</div><div class="line"><a name="l02248"></a><span class="lineno"><a class="line" href="group__ApplicationInterface.html#ga228f4a47ddfa63828ea55837b30173bb"> 2248</a></span>&#160;<span class="preprocessor">#define EC_WRITE_S64(DATA, VAL) EC_WRITE_U64(DATA, VAL)</span></div><div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>&#160;</div><div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>&#160;</div><div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structec__domain__state__t_html_a6246d096eb6a38af58b454e40fa89b59"><div class="ttname"><a href="structec__domain__state__t.html#a6246d096eb6a38af58b454e40fa89b59">ec_domain_state_t::working_counter</a></div><div class="ttdeci">unsigned int working_counter</div><div class="ttdoc">Value of the last working counter. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00408">ecrt.h:408</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gadc492ba8af1b53bfec60748c441f7a10"><div class="ttname"><a href="group__ApplicationInterface.html#gadc492ba8af1b53bfec60748c441f7a10">ecrt_domain_size</a></div><div class="ttdeci">size_t ecrt_domain_size(const ec_domain_t *domain)</div><div class="ttdoc">Returns the current size of the domain&amp;#39;s process data. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00427">domain.c:427</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga3c12de18886ffb7aaeb7ac364a7f2034"><div class="ttname"><a href="group__ApplicationInterface.html#ga3c12de18886ffb7aaeb7ac364a7f2034">ecrt_reg_request_write</a></div><div class="ttdeci">void ecrt_reg_request_write(ec_reg_request_t *req, uint16_t address, size_t size)</div><div class="ttdoc">Schedule an register write operation. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8c_source.html#l00099">reg_request.c:99</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_abff228c0f3c4b869ba2624937b1ff89a"><div class="ttname"><a href="structec__slave__info__t.html#abff228c0f3c4b869ba2624937b1ff89a">ec_slave_info_t::serial_number</a></div><div class="ttdeci">uint32_t serial_number</div><div class="ttdoc">Serial-Number stored on the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00369">ecrt.h:369</a></div></div>
<div class="ttc" id="structec__reg__request_html_adfba6eddfd79740eae02362347093120"><div class="ttname"><a href="structec__reg__request.html#adfba6eddfd79740eae02362347093120">ec_reg_request::state</a></div><div class="ttdeci">ec_internal_request_state_t state</div><div class="ttdoc">Request state. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8h_source.html#l00056">reg_request.h:56</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_ac48f62ba6858bbbf0c0238858667e2d2"><div class="ttname"><a href="structec__slave__info__t.html#ac48f62ba6858bbbf0c0238858667e2d2">ec_slave_info_t::desc</a></div><div class="ttdeci">ec_slave_port_desc_t desc</div><div class="ttdoc">Physical port type. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00373">ecrt.h:373</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_ac3dab1cbb399a27e402962036fbf96e7"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#ac3dab1cbb399a27e402962036fbf96e7">ec_pdo_entry_reg_t::subindex</a></div><div class="ttdeci">uint8_t subindex</div><div class="ttdoc">PDO entry subindex. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00501">ecrt.h:501</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga18c064146090e45d36c05876c546caeaaf31a3511a6004d7909a71911a289681f"><div class="ttname"><a href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaaf31a3511a6004d7909a71911a289681f">EC_AL_STATE_PREOP</a></div><div class="ttdoc">Pre-operational. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00530">ecrt.h:530</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_afe179c830ad801c523b134c3ce26b18c"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#afe179c830ad801c523b134c3ce26b18c">ec_pdo_entry_reg_t::position</a></div><div class="ttdeci">uint16_t position</div><div class="ttdoc">Slave position. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00497">ecrt.h:497</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae2540078423afe6763c5b7a2554f30bf"><div class="ttname"><a href="group__ApplicationInterface.html#gae2540078423afe6763c5b7a2554f30bf">ecrt_slave_config_emerg_size</a></div><div class="ttdeci">int ecrt_slave_config_emerg_size(ec_slave_config_t *sc, size_t elements)</div><div class="ttdoc">Set the size of the CoE emergency ring buffer. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01003">slave_config.c:1003</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga0a0b4bef9b058f9a7752878f7c07cdf3"><div class="ttname"><a href="group__ApplicationInterface.html#ga0a0b4bef9b058f9a7752878f7c07cdf3">ecrt_master_sync_monitor_process</a></div><div class="ttdeci">uint32_t ecrt_master_sync_monitor_process(ec_master_t *master)</div><div class="ttdoc">Processes the DC synchrony monitoring datagram. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02789">master.c:2789</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaad5d4056c54c6189a6f5d16bebd46306"><div class="ttname"><a href="group__ApplicationInterface.html#gaad5d4056c54c6189a6f5d16bebd46306">ecrt_voe_handler_received_header</a></div><div class="ttdeci">void ecrt_voe_handler_received_header(const ec_voe_handler_t *voe, uint32_t *vendor_id, uint16_t *vendor_type)</div><div class="ttdoc">Reads the header data of a received VoE message. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00136">voe_handler.c:136</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gad8da153df44d98812c897c56cabe1e84"><div class="ttname"><a href="group__ApplicationInterface.html#gad8da153df44d98812c897c56cabe1e84">ecrt_reg_request_read</a></div><div class="ttdeci">void ecrt_reg_request_read(ec_reg_request_t *req, uint16_t address, size_t size)</div><div class="ttdoc">Schedule a register read operation. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8c_source.html#l00110">reg_request.c:110</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaabc36254a5c0f0ff3aec0ead3d4ecc96"><div class="ttname"><a href="group__ApplicationInterface.html#gaabc36254a5c0f0ff3aec0ead3d4ecc96">ecrt_voe_handler_data_size</a></div><div class="ttdeci">size_t ecrt_voe_handler_data_size(const ec_voe_handler_t *voe)</div><div class="ttdoc">Returns the current data size. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00156">voe_handler.c:156</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga64219721098ec5069eab27f1923de9ea"><div class="ttname"><a href="group__ApplicationInterface.html#ga64219721098ec5069eab27f1923de9ea">ecrt_release_master</a></div><div class="ttdeci">void ecrt_release_master(ec_master_t *master)</div><div class="ttdoc">Releases a requested EtherCAT master. </div><div class="ttdef"><b>Definition:</b> <a href="module_8c_source.html#l00614">module.c:614</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_aed1ca44de274226ae39ba19e4243a907"><div class="ttname"><a href="structec__slave__info__t.html#aed1ca44de274226ae39ba19e4243a907">ec_slave_info_t::sync_count</a></div><div class="ttdeci">uint8_t sync_count</div><div class="ttdoc">Number of sync managers. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00383">ecrt.h:383</a></div></div>
<div class="ttc" id="structec__pdo__info__t_html_a64eb03ac59c0d0cb771b6c32bf52de74"><div class="ttname"><a href="structec__pdo__info__t.html#a64eb03ac59c0d0cb771b6c32bf52de74">ec_pdo_info_t::n_entries</a></div><div class="ttdeci">unsigned int n_entries</div><div class="ttdoc">Number of PDO entries in entries to map. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00460">ecrt.h:460</a></div></div>
<div class="ttc" id="structec__pdo__entry__info__t_html_a87da50fb38483fd43e88721f6b99033c"><div class="ttname"><a href="structec__pdo__entry__info__t.html#a87da50fb38483fd43e88721f6b99033c">ec_pdo_entry_info_t::bit_length</a></div><div class="ttdeci">uint8_t bit_length</div><div class="ttdoc">Size of the PDO entry in bit. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00447">ecrt.h:447</a></div></div>
<div class="ttc" id="structec__sync__info__t_html_a30a8f40bfcbda77239378f0cef039c70"><div class="ttname"><a href="structec__sync__info__t.html#a30a8f40bfcbda77239378f0cef039c70">ec_sync_info_t::dir</a></div><div class="ttdeci">ec_direction_t dir</div><div class="ttdoc">Sync manager direction. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00481">ecrt.h:481</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a37c3c84b314c3d8636fb9da670721d33"><div class="ttname"><a href="structec__slave__info__t.html#a37c3c84b314c3d8636fb9da670721d33">ec_slave_info_t::error_flag</a></div><div class="ttdeci">uint8_t error_flag</div><div class="ttdoc">Error flag for that slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00382">ecrt.h:382</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaa31bcc2beed6a1f62ec495337c239177"><div class="ttname"><a href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">ec_watchdog_mode_t</a></div><div class="ttdeci">ec_watchdog_mode_t</div><div class="ttdoc">Watchdog mode for sync manager configuration. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00430">ecrt.h:430</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gadb8b8f705803689e789f022b01eb8deb"><div class="ttname"><a href="group__ApplicationInterface.html#gadb8b8f705803689e789f022b01eb8deb">ecrt_master_sync_slave_clocks</a></div><div class="ttdeci">void ecrt_master_sync_slave_clocks(ec_master_t *master)</div><div class="ttdoc">Queues the DC clock drift compensation datagram for sending. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02771">master.c:2771</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga15640cfae27efdf73d687ea4f9a03338"><div class="ttname"><a href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">ec_slave_port_desc_t</a></div><div class="ttdeci">ec_slave_port_desc_t</div><div class="ttdoc">EtherCAT slave port descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00339">ecrt.h:339</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gacf5b3147d6fa082ed73417cf7aa4e240"><div class="ttname"><a href="group__ApplicationInterface.html#gacf5b3147d6fa082ed73417cf7aa4e240">ecrt_slave_config_sdo</a></div><div class="ttdeci">int ecrt_slave_config_sdo(ec_slave_config_t *sc, uint16_t index, uint8_t subindex, const uint8_t *data, size_t size)</div><div class="ttdoc">Add an SDO configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00878">slave_config.c:878</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga18c064146090e45d36c05876c546caea"><div class="ttname"><a href="group__ApplicationInterface.html#ga18c064146090e45d36c05876c546caea">ec_al_state_t</a></div><div class="ttdeci">ec_al_state_t</div><div class="ttdoc">Application-layer state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00528">ecrt.h:528</a></div></div>
<div class="ttc" id="structec__sync__info__t_html_a1a9322a8f1da38ce383542374108b76d"><div class="ttname"><a href="structec__sync__info__t.html#a1a9322a8f1da38ce383542374108b76d">ec_sync_info_t::pdos</a></div><div class="ttdeci">ec_pdo_info_t * pdos</div><div class="ttdoc">Array with PDOs to assign. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00483">ecrt.h:483</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaef2958fe19c088978857e7b91f692630"><div class="ttname"><a href="group__ApplicationInterface.html#gaef2958fe19c088978857e7b91f692630">ecrt_slave_config_pdo_assign_add</a></div><div class="ttdeci">int ecrt_slave_config_pdo_assign_add(ec_slave_config_t *sc, uint8_t sync_index, uint16_t index)</div><div class="ttdoc">Add a PDO to a sync manager&amp;#39;s PDO assignment. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00563">slave_config.c:563</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga90c4d1a88ecc1f3a49ba73dad4efdb14"><div class="ttname"><a href="group__ApplicationInterface.html#ga90c4d1a88ecc1f3a49ba73dad4efdb14">ecrt_master_link_state</a></div><div class="ttdeci">int ecrt_master_link_state(const ec_master_t *master, unsigned int dev_idx, ec_master_link_state_t *state)</div><div class="ttdoc">Reads the current state of a redundant link. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02714">master.c:2714</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga567ccc15f09d5722fd6269f297b72a58"><div class="ttname"><a href="group__ApplicationInterface.html#ga567ccc15f09d5722fd6269f297b72a58">ecrt_master_application_time</a></div><div class="ttdeci">void ecrt_master_application_time(ec_master_t *master, uint64_t app_time)</div><div class="ttdoc">Sets the application time. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02730">master.c:2730</a></div></div>
<div class="ttc" id="structec__domain__state__t_html_a8a0852a6265bd22b1178934542273714"><div class="ttname"><a href="structec__domain__state__t.html#a8a0852a6265bd22b1178934542273714">ec_domain_state_t::redundancy_active</a></div><div class="ttdeci">unsigned int redundancy_active</div><div class="ttdoc">Redundant link is in use. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00410">ecrt.h:410</a></div></div>
<div class="ttc" id="structec__sdo__request_html"><div class="ttname"><a href="structec__sdo__request.html">ec_sdo_request</a></div><div class="ttdoc">CANopen SDO request. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8h_source.html#l00048">sdo_request.h:48</a></div></div>
<div class="ttc" id="structec__master__info__t_html_a4dd59e6219e9a77861649b8ee088f22d"><div class="ttname"><a href="structec__master__info__t.html#a4dd59e6219e9a77861649b8ee088f22d">ec_master_info_t::slave_count</a></div><div class="ttdeci">unsigned int slave_count</div><div class="ttdoc">Number of slaves in the bus. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00329">ecrt.h:329</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_acc75e34bd3f6e3248b8c29ba2175c2d7"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#acc75e34bd3f6e3248b8c29ba2175c2d7">ec_pdo_entry_reg_t::index</a></div><div class="ttdeci">uint16_t index</div><div class="ttdoc">PDO entry index. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00500">ecrt.h:500</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga18c064146090e45d36c05876c546caeaa4f746cb4e141c28b8aeb9c6cfe78177e"><div class="ttname"><a href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa4f746cb4e141c28b8aeb9c6cfe78177e">EC_AL_STATE_OP</a></div><div class="ttdoc">Operational. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00532">ecrt.h:532</a></div></div>
<div class="ttc" id="structec__reg__request_html_aa6f44f4a9851e291726cbc92f7c099fa"><div class="ttname"><a href="structec__reg__request.html#aa6f44f4a9851e291726cbc92f7c099fa">ec_reg_request::address</a></div><div class="ttdeci">uint16_t address</div><div class="ttdoc">Register address. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8h_source.html#l00054">reg_request.h:54</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_aa944602e60e4735b59b51a351e673205"><div class="ttname"><a href="structec__slave__info__t.html#aa944602e60e4735b59b51a351e673205">ec_slave_info_t::vendor_id</a></div><div class="ttdeci">uint32_t vendor_id</div><div class="ttdoc">Vendor-ID stored on the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00366">ecrt.h:366</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga357ce803ce5e7a8e59f14bf3eaf11439"><div class="ttname"><a href="group__ApplicationInterface.html#ga357ce803ce5e7a8e59f14bf3eaf11439">ecrt_master_sdo_download_complete</a></div><div class="ttdeci">int ecrt_master_sdo_download_complete(ec_master_t *master, uint16_t slave_position, uint16_t index, uint8_t *data, size_t data_size, uint32_t *abort_code)</div><div class="ttdoc">Executes an SDO download request to write data to a slave via complete access. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02884">master.c:2884</a></div></div>
<div class="ttc" id="structec__reg__request_html"><div class="ttname"><a href="structec__reg__request.html">ec_reg_request</a></div><div class="ttdoc">Register request. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8h_source.html#l00048">reg_request.h:48</a></div></div>
<div class="ttc" id="structec__master__link__state__t_html"><div class="ttname"><a href="structec__master__link__state__t.html">ec_master_link_state_t</a></div><div class="ttdoc">Redundant link state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00282">ecrt.h:282</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a9d7a2d7fa4ff23cdf6c8c842f484e904"><div class="ttname"><a href="structec__slave__info__t.html#a9d7a2d7fa4ff23cdf6c8c842f484e904">ec_slave_info_t::link</a></div><div class="ttdeci">ec_slave_port_link_t link</div><div class="ttdoc">Port link state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00374">ecrt.h:374</a></div></div>
<div class="ttc" id="structec__master__link__state__t_html_af901790b400db653a2fd739275142a0e"><div class="ttname"><a href="structec__master__link__state__t.html#af901790b400db653a2fd739275142a0e">ec_master_link_state_t::slaves_responding</a></div><div class="ttdeci">unsigned int slaves_responding</div><div class="ttdoc">Sum of responding slaves on the given link. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00283">ecrt.h:283</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga18c064146090e45d36c05876c546caeaafb41d7398780a3f09ba2c19d624b2668"><div class="ttname"><a href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaafb41d7398780a3f09ba2c19d624b2668">EC_AL_STATE_SAFEOP</a></div><div class="ttdoc">Safe-operational. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00531">ecrt.h:531</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaa34bed589e356727aaf0bc7ceee0ed57"><div class="ttname"><a href="group__ApplicationInterface.html#gaa34bed589e356727aaf0bc7ceee0ed57">ecrt_domain_reg_pdo_entry_list</a></div><div class="ttdeci">int ecrt_domain_reg_pdo_entry_list(ec_domain_t *domain, const ec_pdo_entry_reg_t *pdo_entry_regs)</div><div class="ttdoc">Registers a bunch of PDO entries for a domain. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00398">domain.c:398</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga644db1b4181bfe2943bb8fa81bd027f7"><div class="ttname"><a href="group__ApplicationInterface.html#ga644db1b4181bfe2943bb8fa81bd027f7">ecrt_master_callbacks</a></div><div class="ttdeci">void ecrt_master_callbacks(ec_master_t *master, void(*send_cb)(void *), void(*receive_cb)(void *), void *cb_data)</div><div class="ttdoc">Sets the locking callbacks. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02677">master.c:2677</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga8a1a9398f7c1e17e4da8243fe03a7a80"><div class="ttname"><a href="group__ApplicationInterface.html#ga8a1a9398f7c1e17e4da8243fe03a7a80">ecrt_master_get_slave</a></div><div class="ttdeci">int ecrt_master_get_slave(ec_master_t *master, uint16_t slave_position, ec_slave_info_t *slave_info)</div><div class="ttdoc">Obtains slave information. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02622">master.c:2622</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggaa31bcc2beed6a1f62ec495337c239177adfee5b587c2fac3791f4b13ccd64645a"><div class="ttname"><a href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177adfee5b587c2fac3791f4b13ccd64645a">EC_WD_DISABLE</a></div><div class="ttdoc">Disable the watchdog. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00433">ecrt.h:433</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga757fd3d421f1ded8ee310c4698afb8ba"><div class="ttname"><a href="group__ApplicationInterface.html#ga757fd3d421f1ded8ee310c4698afb8ba">ecrt_slave_config_reg_pdo_entry_pos</a></div><div class="ttdeci">int ecrt_slave_config_reg_pdo_entry_pos(ec_slave_config_t *sc, uint8_t sync_index, unsigned int pdo_pos, unsigned int entry_pos, ec_domain_t *domain, unsigned int *bit_position)</div><div class="ttdoc">Registers a PDO entry using its position. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00794">slave_config.c:794</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a1ba1f3946bd5c56275f929bb0bd0ba0c"><div class="ttname"><a href="structec__slave__info__t.html#a1ba1f3946bd5c56275f929bb0bd0ba0c">ec_slave_info_t::delay_to_next_dc</a></div><div class="ttdeci">uint32_t delay_to_next_dc</div><div class="ttdoc">Delay [ns] to next DC slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00379">ecrt.h:379</a></div></div>
<div class="ttc" id="structec__master__link__state__t_html_a6c076febd20049f7764d5a3bb8409797"><div class="ttname"><a href="structec__master__link__state__t.html#a6c076febd20049f7764d5a3bb8409797">ec_master_link_state_t::link_up</a></div><div class="ttdeci">unsigned int link_up</div><div class="ttdoc">true, if the given Ethernet link is up. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00294">ecrt.h:294</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga62360cb642f555269d64df1111f6c771"><div class="ttname"><a href="group__ApplicationInterface.html#ga62360cb642f555269d64df1111f6c771">ecrt_master_send_ext</a></div><div class="ttdeci">void ecrt_master_send_ext(ec_master_t *master)</div><div class="ttdoc">Sends non-application datagrams. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02502">master.c:2502</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggaa31bcc2beed6a1f62ec495337c239177aee16c13a5ec3c6105a41a1d4c562e82d"><div class="ttname"><a href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177aee16c13a5ec3c6105a41a1d4c562e82d">EC_WD_ENABLE</a></div><div class="ttdoc">Enable the watchdog. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00432">ecrt.h:432</a></div></div>
<div class="ttc" id="structec__domain__state__t_html_a51f6fe3b5da92cd4d5851a324415f9d7"><div class="ttname"><a href="structec__domain__state__t.html#a51f6fe3b5da92cd4d5851a324415f9d7">ec_domain_state_t::wc_state</a></div><div class="ttdeci">ec_wc_state_t wc_state</div><div class="ttdoc">Working counter interpretation. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00409">ecrt.h:409</a></div></div>
<div class="ttc" id="structec__pdo__info__t_html"><div class="ttname"><a href="structec__pdo__info__t.html">ec_pdo_info_t</a></div><div class="ttdoc">PDO configuration information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00458">ecrt.h:458</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae4ede07f05b211667078ab2b2396da6e"><div class="ttname"><a href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e">ecrt_master_create_domain</a></div><div class="ttdeci">ec_domain_t * ecrt_master_create_domain(ec_master_t *master)</div><div class="ttdoc">Creates a new process data domain. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02254">master.c:2254</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga71bc42fb7cb1bd008303bb79df11312e"><div class="ttname"><a href="group__ApplicationInterface.html#ga71bc42fb7cb1bd008303bb79df11312e">ecrt_voe_handler_read</a></div><div class="ttdeci">void ecrt_voe_handler_read(ec_voe_handler_t *voe)</div><div class="ttdoc">Start a VoE read operation. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00163">voe_handler.c:163</a></div></div>
<div class="ttc" id="structec__sync__info__t_html"><div class="ttname"><a href="structec__sync__info__t.html">ec_sync_info_t</a></div><div class="ttdoc">Sync manager configuration information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00477">ecrt.h:477</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga00daf142097ba5eb8b58b996a8a730af"><div class="ttname"><a href="group__ApplicationInterface.html#ga00daf142097ba5eb8b58b996a8a730af">ec_wc_state_t</a></div><div class="ttdeci">ec_wc_state_t</div><div class="ttdoc">Domain working counter interpretation. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00394">ecrt.h:394</a></div></div>
<div class="ttc" id="structec__slave__port__link__t_html_a4ee187234a71d54517327aa02f076513"><div class="ttname"><a href="structec__slave__port__link__t.html#a4ee187234a71d54517327aa02f076513">ec_slave_port_link_t::signal_detected</a></div><div class="ttdeci">uint8_t signal_detected</div><div class="ttdoc">Detected signal on RX port. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00353">ecrt.h:353</a></div></div>
<div class="ttc" id="structec__slave__port__link__t_html"><div class="ttname"><a href="structec__slave__port__link__t.html">ec_slave_port_link_t</a></div><div class="ttdoc">EtherCAT slave port information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00350">ecrt.h:350</a></div></div>
<div class="ttc" id="structec__master__state__t_html_abd0384430bcfe9be73f7f0796210cbb1"><div class="ttname"><a href="structec__master__state__t.html#abd0384430bcfe9be73f7f0796210cbb1">ec_master_state_t::slaves_responding</a></div><div class="ttdeci">unsigned int slaves_responding</div><div class="ttdoc">Sum of responding slaves on all Ethernet devices. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00259">ecrt.h:259</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga9f623ede71e87dd0e9d6ab87086f0d4f"><div class="ttname"><a href="group__ApplicationInterface.html#ga9f623ede71e87dd0e9d6ab87086f0d4f">ecrt_master_state</a></div><div class="ttdeci">void ecrt_master_state(const ec_master_t *master, ec_master_state_t *state)</div><div class="ttdoc">Reads the current master state. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02691">master.c:2691</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gad0bc75bb57e280a55b0e9d31c0f06f71"><div class="ttname"><a href="group__ApplicationInterface.html#gad0bc75bb57e280a55b0e9d31c0f06f71">ecrt_voe_handler_read_nosync</a></div><div class="ttdeci">void ecrt_voe_handler_read_nosync(ec_voe_handler_t *voe)</div><div class="ttdoc">Start a VoE read operation without querying the sync manager status. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00172">voe_handler.c:172</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gad61c6ab7adf19f18953f34c8132c30a7"><div class="ttname"><a href="group__ApplicationInterface.html#gad61c6ab7adf19f18953f34c8132c30a7">ecrt_slave_config_emerg_clear</a></div><div class="ttdeci">int ecrt_slave_config_emerg_clear(ec_slave_config_t *sc)</div><div class="ttdoc">Clears CoE emergency ring buffer and the overrun counter. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01017">slave_config.c:1017</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaafe96aea4c5babcfe433f41e0c84a165"><div class="ttname"><a href="group__ApplicationInterface.html#gaafe96aea4c5babcfe433f41e0c84a165">ecrt_domain_external_memory</a></div><div class="ttdeci">void ecrt_domain_external_memory(ec_domain_t *domain, uint8_t *memory)</div><div class="ttdoc">Provide external memory to store the domain&amp;#39;s process data. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00434">domain.c:434</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae5018a122570d50568b32211d79f00ff"><div class="ttname"><a href="group__ApplicationInterface.html#gae5018a122570d50568b32211d79f00ff">ecrt_sdo_request_timeout</a></div><div class="ttdeci">void ecrt_sdo_request_timeout(ec_sdo_request_t *req, uint32_t timeout)</div><div class="ttdoc">Set the timeout for an SDO request. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00196">sdo_request.c:196</a></div></div>
<div class="ttc" id="structec__master__info__t_html_af04f490338e344e2c9de516cabe5251b"><div class="ttname"><a href="structec__master__info__t.html#af04f490338e344e2c9de516cabe5251b">ec_master_info_t::link_up</a></div><div class="ttdeci">unsigned int link_up</div><div class="ttdoc">true, if the network link is up. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00330">ecrt.h:330</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga6341627f6bf764312dd6e8c3140e9be1"><div class="ttname"><a href="group__ApplicationInterface.html#ga6341627f6bf764312dd6e8c3140e9be1">ecrt_slave_config_create_voe_handler</a></div><div class="ttdeci">ec_voe_handler_t * ecrt_slave_config_create_voe_handler(ec_slave_config_t *sc, size_t size)</div><div class="ttdoc">Create an VoE handler to exchange vendor-specific data during realtime operation. ...</div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01158">slave_config.c:1158</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga05858fdb5052dfb1161a81d2f8beb553"><div class="ttname"><a href="group__ApplicationInterface.html#ga05858fdb5052dfb1161a81d2f8beb553">ecrt_slave_config_dc</a></div><div class="ttdeci">void ecrt_slave_config_dc(ec_slave_config_t *sc, uint16_t assign_activate, uint32_t sync0_cycle, int32_t sync0_shift, uint32_t sync1_cycle, int32_t sync1_shift)</div><div class="ttdoc">Configure distributed clocks. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00859">slave_config.c:859</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaacb7fefc226e3a3c0225c39d233d2fa8"><div class="ttname"><a href="group__ApplicationInterface.html#gaacb7fefc226e3a3c0225c39d233d2fa8">ecrt_slave_config_sdo16</a></div><div class="ttdeci">int ecrt_slave_config_sdo16(ec_slave_config_t *sc, uint16_t sdo_index, uint8_t sdo_subindex, uint16_t value)</div><div class="ttdoc">Add a configuration value for a 16-bit SDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00933">slave_config.c:933</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga00daf142097ba5eb8b58b996a8a730afaef084e88705396b87feea4e9dca38c22"><div class="ttname"><a href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afaef084e88705396b87feea4e9dca38c22">EC_WC_INCOMPLETE</a></div><div class="ttdoc">Some of the registered process data were exchanged. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00396">ecrt.h:396</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a228e2613b426dd2ec3796788aa0c5141"><div class="ttname"><a href="structec__slave__info__t.html#a228e2613b426dd2ec3796788aa0c5141">ec_slave_info_t::revision_number</a></div><div class="ttdeci">uint32_t revision_number</div><div class="ttdoc">Revision-Number stored on the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00368">ecrt.h:368</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga70b875084a32b81579bf83c960390967"><div class="ttname"><a href="group__ApplicationInterface.html#ga70b875084a32b81579bf83c960390967">ecrt_sdo_request_data</a></div><div class="ttdeci">uint8_t * ecrt_sdo_request_data(ec_sdo_request_t *req)</div><div class="ttdoc">Access to the SDO request&amp;#39;s data. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00203">sdo_request.c:203</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggaa31bcc2beed6a1f62ec495337c239177a067dbac72731bbc99525c11777552703"><div class="ttname"><a href="group__ApplicationInterface.html#ggaa31bcc2beed6a1f62ec495337c239177a067dbac72731bbc99525c11777552703">EC_WD_DEFAULT</a></div><div class="ttdoc">Use the default setting of the sync manager. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00431">ecrt.h:431</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_aea36bf4b1e0e8d3c6beb1a37d1dc3984"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#aea36bf4b1e0e8d3c6beb1a37d1dc3984">ec_pdo_entry_reg_t::alias</a></div><div class="ttdeci">uint16_t alias</div><div class="ttdoc">Slave alias address. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00496">ecrt.h:496</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggae94149f829f04960c62d63764a7779dfa8a9e6590d04b31b12b03d7071d106cf5"><div class="ttname"><a href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa8a9e6590d04b31b12b03d7071d106cf5">EC_REQUEST_UNUSED</a></div><div class="ttdoc">Not requested. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00518">ecrt.h:518</a></div></div>
<div class="ttc" id="structec__pdo__info__t_html_a90f9554694041aefded6f069e0b003d3"><div class="ttname"><a href="structec__pdo__info__t.html#a90f9554694041aefded6f069e0b003d3">ec_pdo_info_t::index</a></div><div class="ttdeci">uint16_t index</div><div class="ttdoc">PDO index. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00459">ecrt.h:459</a></div></div>
<div class="ttc" id="structec__slave__port__link__t_html_aefb5e82418479aa5f9043c9fe6503655"><div class="ttname"><a href="structec__slave__port__link__t.html#aefb5e82418479aa5f9043c9fe6503655">ec_slave_port_link_t::loop_closed</a></div><div class="ttdeci">uint8_t loop_closed</div><div class="ttdoc">Loop closed. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00352">ecrt.h:352</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga883e43ca2b29e73ac5ec5dec214487b2"><div class="ttname"><a href="group__ApplicationInterface.html#ga883e43ca2b29e73ac5ec5dec214487b2">ecrt_sdo_request_read</a></div><div class="ttdeci">void ecrt_sdo_request_read(ec_sdo_request_t *req)</div><div class="ttdoc">Schedule an SDO read operation. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00224">sdo_request.c:224</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gafb85534b6fcba3fa1fab6c81173b2ed1"><div class="ttname"><a href="group__ApplicationInterface.html#gafb85534b6fcba3fa1fab6c81173b2ed1">ecrt_request_master</a></div><div class="ttdeci">ec_master_t * ecrt_request_master(unsigned int master_index)</div><div class="ttdoc">Requests an EtherCAT master for realtime operation. </div><div class="ttdef"><b>Definition:</b> <a href="module_8c_source.html#l00606">module.c:606</a></div></div>
<div class="ttc" id="structec__master__state__t_html"><div class="ttname"><a href="structec__master__state__t.html">ec_master_state_t</a></div><div class="ttdoc">Master state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00258">ecrt.h:258</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga4231948c36c707fd5bc95e2e813ff7af"><div class="ttname"><a href="group__ApplicationInterface.html#ga4231948c36c707fd5bc95e2e813ff7af">ecrt_slave_config_complete_sdo</a></div><div class="ttdeci">int ecrt_slave_config_complete_sdo(ec_slave_config_t *sc, uint16_t index, const uint8_t *data, size_t size)</div><div class="ttdoc">Add configuration data for a complete SDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00963">slave_config.c:963</a></div></div>
<div class="ttc" id="structec__slave__config__state__t_html"><div class="ttname"><a href="structec__slave__config__state__t.html">ec_slave_config_state_t</a></div><div class="ttdoc">Slave configuration state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00306">ecrt.h:306</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggae94149f829f04960c62d63764a7779dfad031578ebd61309cf3e0f618968fd3a2"><div class="ttname"><a href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfad031578ebd61309cf3e0f618968fd3a2">EC_REQUEST_BUSY</a></div><div class="ttdoc">Request is being processed. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00519">ecrt.h:519</a></div></div>
<div class="ttc" id="structec__master__info__t_html_aa7c135f6d6247323c05c7c88baf118ba"><div class="ttname"><a href="structec__master__info__t.html#aa7c135f6d6247323c05c7c88baf118ba">ec_master_info_t::app_time</a></div><div class="ttdeci">uint64_t app_time</div><div class="ttdoc">Application time. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00332">ecrt.h:332</a></div></div>
<div class="ttc" id="structec__sync__info__t_html_abeb91973efe10dd69ce8fb57135e8253"><div class="ttname"><a href="structec__sync__info__t.html#abeb91973efe10dd69ce8fb57135e8253">ec_sync_info_t::watchdog_mode</a></div><div class="ttdeci">ec_watchdog_mode_t watchdog_mode</div><div class="ttdoc">Watchdog mode. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00485">ecrt.h:485</a></div></div>
<div class="ttc" id="structec__sync__info__t_html_a25e3f4601c01b018bef363e3f3a3d38d"><div class="ttname"><a href="structec__sync__info__t.html#a25e3f4601c01b018bef363e3f3a3d38d">ec_sync_info_t::n_pdos</a></div><div class="ttdeci">unsigned int n_pdos</div><div class="ttdoc">Number of PDOs in pdos. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00482">ecrt.h:482</a></div></div>
<div class="ttc" id="structec__domain__state__t_html"><div class="ttname"><a href="structec__domain__state__t.html">ec_domain_state_t</a></div><div class="ttdoc">Domain state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00407">ecrt.h:407</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_af71a5740f6dc961e0a1c27b1177a13ac"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#af71a5740f6dc961e0a1c27b1177a13ac">ec_pdo_entry_reg_t::vendor_id</a></div><div class="ttdeci">uint32_t vendor_id</div><div class="ttdoc">Slave vendor ID. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00498">ecrt.h:498</a></div></div>
<div class="ttc" id="structec__slave__config__state__t_html_ae14213eb8fa0145ecf1250e46ff7c4af"><div class="ttname"><a href="structec__slave__config__state__t.html#ae14213eb8fa0145ecf1250e46ff7c4af">ec_slave_config_state_t::al_state</a></div><div class="ttdeci">unsigned int al_state</div><div class="ttdoc">The application-layer state of the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00310">ecrt.h:310</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_a83471245b0d0d9481575bffabfadc966"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#a83471245b0d0d9481575bffabfadc966">ec_pdo_entry_reg_t::bit_position</a></div><div class="ttdeci">unsigned int * bit_position</div><div class="ttdoc">Pointer to a variable to store a bit position (0-7) within the offset. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00504">ecrt.h:504</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga52ec1296b7c6c21e86b906ef4edc6208"><div class="ttname"><a href="group__ApplicationInterface.html#ga52ec1296b7c6c21e86b906ef4edc6208">ecrt_master_sdo_download</a></div><div class="ttdeci">int ecrt_master_sdo_download(ec_master_t *master, uint16_t slave_position, uint16_t index, uint8_t subindex, uint8_t *data, size_t data_size, uint32_t *abort_code)</div><div class="ttdoc">Executes an SDO download request to write data to a slave. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02800">master.c:2800</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga15640cfae27efdf73d687ea4f9a03338ac06e10ab39eb8c7585e6b3e85aa901b2"><div class="ttname"><a href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338ac06e10ab39eb8c7585e6b3e85aa901b2">EC_PORT_EBUS</a></div><div class="ttdoc">Port is an E-Bus. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00342">ecrt.h:342</a></div></div>
<div class="ttc" id="structec__slave__config__state__t_html_aaadc9c8a1a5ee8b810ceaeed25723e61"><div class="ttname"><a href="structec__slave__config__state__t.html#aaadc9c8a1a5ee8b810ceaeed25723e61">ec_slave_config_state_t::operational</a></div><div class="ttdeci">unsigned int operational</div><div class="ttdoc">The slave was brought into OP state using the specified configuration. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00308">ecrt.h:308</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga31983aeee279fc5acaf5f7a0bb403160"><div class="ttname"><a href="group__ApplicationInterface.html#ga31983aeee279fc5acaf5f7a0bb403160">ecrt_master_select_reference_clock</a></div><div class="ttdeci">int ecrt_master_select_reference_clock(ec_master_t *master, ec_slave_config_t *sc)</div><div class="ttdoc">Selects the reference clock for distributed clocks. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02588">master.c:2588</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga1805e57c39e7bb12840c5e2589021dbe"><div class="ttname"><a href="group__ApplicationInterface.html#ga1805e57c39e7bb12840c5e2589021dbe">ecrt_slave_config_create_reg_request</a></div><div class="ttdeci">ec_reg_request_t * ecrt_slave_config_create_reg_request(ec_slave_config_t *sc, size_t size)</div><div class="ttdoc">Create a register request to exchange EtherCAT register contents during realtime operation. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01116">slave_config.c:1116</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga703c4e47384b3601e7605d6d910aaba1"><div class="ttname"><a href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a></div><div class="ttdeci">ec_direction_t</div><div class="ttdoc">Direction type for PDO assignment functions. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00417">ecrt.h:417</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae316a920dba8c28e14138b4bf394c230"><div class="ttname"><a href="group__ApplicationInterface.html#gae316a920dba8c28e14138b4bf394c230">ecrt_master_set_send_interval</a></div><div class="ttdeci">int ecrt_master_set_send_interval(ec_master_t *master, size_t send_interval)</div><div class="ttdoc">Set interval between calls to ecrt_master_send(). </div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga242aedc8a03b7c4d0121bc670b68bf5b"><div class="ttname"><a href="group__ApplicationInterface.html#ga242aedc8a03b7c4d0121bc670b68bf5b">ecrt_version_magic</a></div><div class="ttdeci">unsigned int ecrt_version_magic(void)</div><div class="ttdoc">Returns the version magic of the realtime interface. </div><div class="ttdef"><b>Definition:</b> <a href="module_8c_source.html#l00640">module.c:640</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga15640cfae27efdf73d687ea4f9a03338a0a5db996018465752d5f6d5bc1caad39"><div class="ttname"><a href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a0a5db996018465752d5f6d5bc1caad39">EC_PORT_MII</a></div><div class="ttdoc">Port is a MII. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00343">ecrt.h:343</a></div></div>
<div class="ttc" id="structec__voe__handler_html"><div class="ttname"><a href="structec__voe__handler.html">ec_voe_handler</a></div><div class="ttdoc">Vendor specific over EtherCAT handler. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8h_source.html#l00049">voe_handler.h:49</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga26c45ec21428d91704016494cb5a38ae"><div class="ttname"><a href="group__ApplicationInterface.html#ga26c45ec21428d91704016494cb5a38ae">ecrt_voe_handler_execute</a></div><div class="ttdeci">ec_request_state_t ecrt_voe_handler_execute(ec_voe_handler_t *voe)</div><div class="ttdoc">Execute the handler. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00191">voe_handler.c:191</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga0a87e59a5448389907652ddb2f5768fd"><div class="ttname"><a href="group__ApplicationInterface.html#ga0a87e59a5448389907652ddb2f5768fd">ecrt_slave_config_sdo32</a></div><div class="ttdeci">int ecrt_slave_config_sdo32(ec_slave_config_t *sc, uint16_t sdo_index, uint8_t sdo_subindex, uint32_t value)</div><div class="ttdoc">Add a configuration value for a 32-bit SDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00948">slave_config.c:948</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga8d6d538e803530ac104c9bf2d37a24c4"><div class="ttname"><a href="group__ApplicationInterface.html#ga8d6d538e803530ac104c9bf2d37a24c4">ecrt_master_sdo_upload</a></div><div class="ttdeci">int ecrt_master_sdo_upload(ec_master_t *master, uint16_t slave_position, uint16_t index, uint8_t subindex, uint8_t *target, size_t target_size, size_t *result_size, uint32_t *abort_code)</div><div class="ttdoc">Executes an SDO upload request to read data from a slave. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02970">master.c:2970</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga703c4e47384b3601e7605d6d910aaba1a6b3c6b53010076d846724fec434512e4"><div class="ttname"><a href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a6b3c6b53010076d846724fec434512e4">EC_DIR_INPUT</a></div><div class="ttdoc">Values read by the master. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00420">ecrt.h:420</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga78d910487f583e333cdf978b4f12c3c1"><div class="ttname"><a href="group__ApplicationInterface.html#ga78d910487f583e333cdf978b4f12c3c1">ecrt_sdo_request_state</a></div><div class="ttdeci">ec_request_state_t ecrt_sdo_request_state(const ec_sdo_request_t *req)</div><div class="ttdoc">Get the current state of the SDO request. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00217">sdo_request.c:217</a></div></div>
<div class="ttc" id="structec__slave__config__state__t_html_a9e2af2cf43358d7abd1fdd04c293493f"><div class="ttname"><a href="structec__slave__config__state__t.html#a9e2af2cf43358d7abd1fdd04c293493f">ec_slave_config_state_t::online</a></div><div class="ttdeci">unsigned int online</div><div class="ttdoc">The slave is online. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00307">ecrt.h:307</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaa3d42e8188c64eaf794e8dc91a61b60b"><div class="ttname"><a href="group__ApplicationInterface.html#gaa3d42e8188c64eaf794e8dc91a61b60b">ecrt_slave_config_idn</a></div><div class="ttdeci">int ecrt_slave_config_idn(ec_slave_config_t *sc, uint8_t drive_no, uint16_t idn, ec_al_state_t state, const uint8_t *data, size_t size)</div><div class="ttdoc">Add an SoE IDN configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01185">slave_config.c:1185</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gab6455adf50e074c51894113adb49e00c"><div class="ttname"><a href="group__ApplicationInterface.html#gab6455adf50e074c51894113adb49e00c">ecrt_master_reset</a></div><div class="ttdeci">void ecrt_master_reset(ec_master_t *master)</div><div class="ttdoc">Retry configuring slaves. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l03213">master.c:3213</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga15640cfae27efdf73d687ea4f9a03338a696e2f14e40660b267334b44aa529bb6"><div class="ttname"><a href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a696e2f14e40660b267334b44aa529bb6">EC_PORT_NOT_CONFIGURED</a></div><div class="ttdoc">Port is not configured. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00341">ecrt.h:341</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga15640cfae27efdf73d687ea4f9a03338a714b71ad4e085ce97f819853779e6c82"><div class="ttname"><a href="group__ApplicationInterface.html#gga15640cfae27efdf73d687ea4f9a03338a714b71ad4e085ce97f819853779e6c82">EC_PORT_NOT_IMPLEMENTED</a></div><div class="ttdoc">Port is not implemented. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00340">ecrt.h:340</a></div></div>
<div class="ttc" id="structec__slave__info__t_html"><div class="ttname"><a href="structec__slave__info__t.html">ec_slave_info_t</a></div><div class="ttdoc">Slave information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00364">ecrt.h:364</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga3df6e34876cbad6e3e2a4d51ec1ba812"><div class="ttname"><a href="group__ApplicationInterface.html#ga3df6e34876cbad6e3e2a4d51ec1ba812">ecrt_master_sync_monitor_queue</a></div><div class="ttdeci">void ecrt_master_sync_monitor_queue(ec_master_t *master)</div><div class="ttdoc">Queues the DC synchrony monitoring datagram for sending. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02781">master.c:2781</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga1bcfdf71d8d8632c26c07beb17374971"><div class="ttname"><a href="group__ApplicationInterface.html#ga1bcfdf71d8d8632c26c07beb17374971">ecrt_voe_handler_write</a></div><div class="ttdeci">void ecrt_voe_handler_write(ec_voe_handler_t *voe, size_t size)</div><div class="ttdoc">Start a VoE write operation. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00181">voe_handler.c:181</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga93e038f9065d20ea3fa5738c495f0ae5"><div class="ttname"><a href="group__ApplicationInterface.html#ga93e038f9065d20ea3fa5738c495f0ae5">ecrt_slave_config_sdo8</a></div><div class="ttdeci">int ecrt_slave_config_sdo8(ec_slave_config_t *sc, uint16_t sdo_index, uint8_t sdo_subindex, uint8_t value)</div><div class="ttdoc">Add a configuration value for an 8-bit SDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00918">slave_config.c:918</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga3a0f83e1c3e3edf978b3017f94cc375d"><div class="ttname"><a href="group__ApplicationInterface.html#ga3a0f83e1c3e3edf978b3017f94cc375d">ecrt_slave_config_pdo_mapping_add</a></div><div class="ttdeci">int ecrt_slave_config_pdo_mapping_add(ec_slave_config_t *sc, uint16_t pdo_index, uint16_t entry_index, uint8_t entry_subindex, uint8_t entry_bit_length)</div><div class="ttdoc">Add a PDO entry to the given PDO&amp;#39;s mapping. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00611">slave_config.c:611</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga44fe6bd549328c34ca4ed6893765206f"><div class="ttname"><a href="group__ApplicationInterface.html#ga44fe6bd549328c34ca4ed6893765206f">ecrt_slave_config_reg_pdo_entry</a></div><div class="ttdeci">int ecrt_slave_config_reg_pdo_entry(ec_slave_config_t *sc, uint16_t entry_index, uint8_t entry_subindex, ec_domain_t *domain, unsigned int *bit_position)</div><div class="ttdoc">Registers a PDO entry for process data exchange in a domain. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00739">slave_config.c:739</a></div></div>
<div class="ttc" id="structec__pdo__entry__info__t_html_afce51f4c58abe5d43b41b2edaa60707c"><div class="ttname"><a href="structec__pdo__entry__info__t.html#afce51f4c58abe5d43b41b2edaa60707c">ec_pdo_entry_info_t::index</a></div><div class="ttdeci">uint16_t index</div><div class="ttdoc">PDO entry index. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00445">ecrt.h:445</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a769449958ad04e2a7eb6c27d0052d1cf"><div class="ttname"><a href="structec__slave__info__t.html#a769449958ad04e2a7eb6c27d0052d1cf">ec_slave_info_t::al_state</a></div><div class="ttdeci">uint8_t al_state</div><div class="ttdoc">Current state of the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00381">ecrt.h:381</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaa190a5d3aa2a72b8950ef93aa7baab0b"><div class="ttname"><a href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b">ecrt_master_slave_config</a></div><div class="ttdeci">ec_slave_config_t * ecrt_master_slave_config(ec_master_t *master, uint16_t alias, uint16_t position, uint32_t vendor_id, uint32_t product_code)</div><div class="ttdoc">Obtains a slave configuration. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02577">master.c:2577</a></div></div>
<div class="ttc" id="structec__master__info__t_html_ab9fa75d1beeda493a5c47fd2e4897896"><div class="ttname"><a href="structec__master__info__t.html#ab9fa75d1beeda493a5c47fd2e4897896">ec_master_info_t::scan_busy</a></div><div class="ttdeci">uint8_t scan_busy</div><div class="ttdoc">true, while the master is scanning the bus </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00331">ecrt.h:331</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga7bc2683699a5c0c551f0cfdc90c1a559"><div class="ttname"><a href="group__ApplicationInterface.html#ga7bc2683699a5c0c551f0cfdc90c1a559">ecrt_slave_config_pdos</a></div><div class="ttdeci">int ecrt_slave_config_pdos(ec_slave_config_t *sc, unsigned int n_syncs, const ec_sync_info_t syncs[])</div><div class="ttdoc">Specify a complete PDO configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00673">slave_config.c:673</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gacd875ea0739ebb3524269070d9357c4b"><div class="ttname"><a href="group__ApplicationInterface.html#gacd875ea0739ebb3524269070d9357c4b">ecrt_master_read_idn</a></div><div class="ttdeci">int ecrt_master_read_idn(ec_master_t *master, uint16_t slave_position, uint8_t drive_no, uint16_t idn, uint8_t *target, size_t target_size, size_t *result_size, uint16_t *error_code)</div><div class="ttdoc">Executes an SoE read request. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l03129">master.c:3129</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaa44bdeca52f4e821838f4291637103ac"><div class="ttname"><a href="group__ApplicationInterface.html#gaa44bdeca52f4e821838f4291637103ac">ecrt_master_activate</a></div><div class="ttdeci">int ecrt_master_activate(ec_master_t *master)</div><div class="ttdoc">Finishes the configuration phase and prepares for cyclic operation. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02264">master.c:2264</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a48cbaae771c8dc5c818caea3db35ec52"><div class="ttname"><a href="structec__slave__info__t.html#a48cbaae771c8dc5c818caea3db35ec52">ec_slave_info_t::current_on_ebus</a></div><div class="ttdeci">int16_t current_on_ebus</div><div class="ttdoc">Used current in mA. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00371">ecrt.h:371</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga8de1a948ed0cfa5a9478d2050c2560da"><div class="ttname"><a href="group__ApplicationInterface.html#ga8de1a948ed0cfa5a9478d2050c2560da">ecrt_sdo_request_data_size</a></div><div class="ttdeci">size_t ecrt_sdo_request_data_size(const ec_sdo_request_t *req)</div><div class="ttdoc">Returns the current SDO data size. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00210">sdo_request.c:210</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga8496abee3bd32fec5ffd74bf4705cc53"><div class="ttname"><a href="group__ApplicationInterface.html#ga8496abee3bd32fec5ffd74bf4705cc53">ecrt_slave_config_pdo_mapping_clear</a></div><div class="ttdeci">void ecrt_slave_config_pdo_mapping_clear(ec_slave_config_t *sc, uint16_t pdo_index)</div><div class="ttdoc">Clear the mapping of a given PDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00648">slave_config.c:648</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga703c4e47384b3601e7605d6d910aaba1a1d65420e76eb63b731b1148054c40054"><div class="ttname"><a href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a1d65420e76eb63b731b1148054c40054">EC_DIR_INVALID</a></div><div class="ttdoc">Invalid direction. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00418">ecrt.h:418</a></div></div>
<div class="ttc" id="structec__reg__request_html_a55590fb9ebef4fad289a981e5e798f29"><div class="ttname"><a href="structec__reg__request.html#a55590fb9ebef4fad289a981e5e798f29">ec_reg_request::data</a></div><div class="ttdeci">uint8_t * data</div><div class="ttdoc">Pointer to data memory. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8h_source.html#l00051">reg_request.h:51</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga1982934cef716e45eefeba57c9d6e3ff"><div class="ttname"><a href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">EC_MAX_PORTS</a></div><div class="ttdeci">#define EC_MAX_PORTS</div><div class="ttdoc">Maximum number of slave ports. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00209">ecrt.h:209</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga703c4e47384b3601e7605d6d910aaba1a4e496ac3681435d672c73b2198b5ca4d"><div class="ttname"><a href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1a4e496ac3681435d672c73b2198b5ca4d">EC_DIR_COUNT</a></div><div class="ttdoc">Number of directions. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00421">ecrt.h:421</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_ad5b269e24db07fd6721d4df031515bc0"><div class="ttname"><a href="structec__slave__info__t.html#ad5b269e24db07fd6721d4df031515bc0">ec_slave_info_t::sdo_count</a></div><div class="ttdeci">uint16_t sdo_count</div><div class="ttdoc">Number of SDOs. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00384">ecrt.h:384</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gad1811128dd257dd7f5bb7a11724a638e"><div class="ttname"><a href="group__ApplicationInterface.html#gad1811128dd257dd7f5bb7a11724a638e">EC_MAX_STRING_LENGTH</a></div><div class="ttdeci">#define EC_MAX_STRING_LENGTH</div><div class="ttdoc">Maximum string length. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00206">ecrt.h:206</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga701738b03629d552c15c2cdd9b7b99c2"><div class="ttname"><a href="group__ApplicationInterface.html#ga701738b03629d552c15c2cdd9b7b99c2">ecrt_domain_data</a></div><div class="ttdeci">uint8_t * ecrt_domain_data(ec_domain_t *domain)</div><div class="ttdoc">Returns the domain&amp;#39;s process data. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00451">domain.c:451</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html"><div class="ttname"><a href="structec__pdo__entry__reg__t.html">ec_pdo_entry_reg_t</a></div><div class="ttdoc">List record type for PDO entry mass-registration. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00495">ecrt.h:495</a></div></div>
<div class="ttc" id="structec__master__state__t_html_abe6aef62585b16c0b08e2133d17c96d1"><div class="ttname"><a href="structec__master__state__t.html#abe6aef62585b16c0b08e2133d17c96d1">ec_master_state_t::link_up</a></div><div class="ttdeci">unsigned int link_up</div><div class="ttdoc">true, if at least one Ethernet link is up. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00270">ecrt.h:270</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a613d9a5dfd21667e9b4f21ed435b760a"><div class="ttname"><a href="structec__slave__info__t.html#a613d9a5dfd21667e9b4f21ed435b760a">ec_slave_info_t::next_slave</a></div><div class="ttdeci">uint16_t next_slave</div><div class="ttdoc">Ring position of next DC slave on that port. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00377">ecrt.h:377</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga00daf142097ba5eb8b58b996a8a730afa8dff19321b05e9aed5ffc41c25ea3de2"><div class="ttname"><a href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa8dff19321b05e9aed5ffc41c25ea3de2">EC_WC_ZERO</a></div><div class="ttdoc">No registered process data were exchanged. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00395">ecrt.h:395</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga00daf142097ba5eb8b58b996a8a730afa46aaefd30aadeede4109b23491d0077f"><div class="ttname"><a href="group__ApplicationInterface.html#gga00daf142097ba5eb8b58b996a8a730afa46aaefd30aadeede4109b23491d0077f">EC_WC_COMPLETE</a></div><div class="ttdoc">All registered process data were exchanged. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00398">ecrt.h:398</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaba67c3e575110297f9fdcffad573d367"><div class="ttname"><a href="group__ApplicationInterface.html#gaba67c3e575110297f9fdcffad573d367">ecrt_slave_config_watchdog</a></div><div class="ttdeci">void ecrt_slave_config_watchdog(ec_slave_config_t *sc, uint16_t watchdog_divider, uint16_t watchdog_intervals)</div><div class="ttdoc">Configure a slave&amp;#39;s watchdog times. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00551">slave_config.c:551</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga46b3fe78742ddf929b624103432ec4dd"><div class="ttname"><a href="group__ApplicationInterface.html#ga46b3fe78742ddf929b624103432ec4dd">ecrt_master_deactivate</a></div><div class="ttdeci">void ecrt_master_deactivate(ec_master_t *master)</div><div class="ttdoc">Deactivates the master. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02338">master.c:2338</a></div></div>
<div class="ttc" id="structec__master__state__t_html_a3f7cdc7119df341803926360e65e3405"><div class="ttname"><a href="structec__master__state__t.html#a3f7cdc7119df341803926360e65e3405">ec_master_state_t::al_states</a></div><div class="ttdeci">unsigned int al_states</div><div class="ttdoc">Application-layer states of all slaves. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00261">ecrt.h:261</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga4ac6eae111bdbf1d4cd09fa2f965a887"><div class="ttname"><a href="group__ApplicationInterface.html#ga4ac6eae111bdbf1d4cd09fa2f965a887">ecrt_slave_config_sync_manager</a></div><div class="ttdeci">int ecrt_slave_config_sync_manager(ec_slave_config_t *sc, uint8_t sync_index, ec_direction_t direction, ec_watchdog_mode_t watchdog_mode)</div><div class="ttdoc">Configure a sync manager. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00524">slave_config.c:524</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_aaebdddfdbaa1be6b70fbfc455fe7f8dd"><div class="ttname"><a href="structec__slave__info__t.html#aaebdddfdbaa1be6b70fbfc455fe7f8dd">ec_slave_info_t::alias</a></div><div class="ttdeci">uint16_t alias</div><div class="ttdoc">The slaves alias if not equal to 0. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00370">ecrt.h:370</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaefdb3b2d46b945fa6ebd65c4c5f16b8b"><div class="ttname"><a href="group__ApplicationInterface.html#gaefdb3b2d46b945fa6ebd65c4c5f16b8b">ecrt_master</a></div><div class="ttdeci">int ecrt_master(ec_master_t *master, ec_master_info_t *master_info)</div><div class="ttdoc">Obtains master information. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02608">master.c:2608</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga5ddd58b7a66b774b6037edbc50c73293"><div class="ttname"><a href="group__ApplicationInterface.html#ga5ddd58b7a66b774b6037edbc50c73293">ecrt_master_write_idn</a></div><div class="ttdeci">int ecrt_master_write_idn(ec_master_t *master, uint16_t slave_position, uint8_t drive_no, uint16_t idn, uint8_t *data, size_t data_size, uint16_t *error_code)</div><div class="ttdoc">Executes an SoE write request. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l03053">master.c:3053</a></div></div>
<div class="ttc" id="structec__slave__config_html"><div class="ttname"><a href="structec__slave__config.html">ec_slave_config</a></div><div class="ttdoc">EtherCAT slave configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8h_source.html#l00118">slave_config.h:118</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a7cfe4847a1d2108726e2f811b17ae9ff"><div class="ttname"><a href="structec__slave__info__t.html#a7cfe4847a1d2108726e2f811b17ae9ff">ec_slave_info_t::product_code</a></div><div class="ttdeci">uint32_t product_code</div><div class="ttdoc">Product-Code stored on the slave. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00367">ecrt.h:367</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga0b19acf8409e13630e7525f571659744"><div class="ttname"><a href="group__ApplicationInterface.html#ga0b19acf8409e13630e7525f571659744">ecrt_voe_handler_send_header</a></div><div class="ttdeci">void ecrt_voe_handler_send_header(ec_voe_handler_t *voe, uint32_t vendor_id, uint16_t vendor_type)</div><div class="ttdoc">Sets the VoE header for future send operations. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00127">voe_handler.c:127</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggae94149f829f04960c62d63764a7779dfab2473480381319839a822fc009aa0db5"><div class="ttname"><a href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfab2473480381319839a822fc009aa0db5">EC_REQUEST_SUCCESS</a></div><div class="ttdoc">Request was processed successfully. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00520">ecrt.h:520</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_a6da6ce1d93fac99d55b647b53f96829b"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#a6da6ce1d93fac99d55b647b53f96829b">ec_pdo_entry_reg_t::offset</a></div><div class="ttdeci">unsigned int * offset</div><div class="ttdoc">Pointer to a variable to store the PDO entry&amp;#39;s (byte-)offset in the process data. ...</div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00502">ecrt.h:502</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae94149f829f04960c62d63764a7779df"><div class="ttname"><a href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a></div><div class="ttdeci">ec_request_state_t</div><div class="ttdoc">Request state. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00517">ecrt.h:517</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaecfbefc3410396bd5ca5f14c489ea838"><div class="ttname"><a href="group__ApplicationInterface.html#gaecfbefc3410396bd5ca5f14c489ea838">ecrt_reg_request_data</a></div><div class="ttdeci">uint8_t * ecrt_reg_request_data(ec_reg_request_t *req)</div><div class="ttdoc">Access to the register request&amp;#39;s data. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8c_source.html#l00085">reg_request.c:85</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaefb582f13442ef8b770fd308b8de949c"><div class="ttname"><a href="group__ApplicationInterface.html#gaefb582f13442ef8b770fd308b8de949c">ecrt_master_reference_clock_time</a></div><div class="ttdeci">int ecrt_master_reference_clock_time(ec_master_t *master, uint32_t *time)</div><div class="ttdoc">Get the lower 32 bit of the reference clock system time. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02742">master.c:2742</a></div></div>
<div class="ttc" id="structec__master__info__t_html"><div class="ttname"><a href="structec__master__info__t.html">ec_master_info_t</a></div><div class="ttdoc">Master information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00328">ecrt.h:328</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaab8fdd6b9dc3f33d22800d8c517f864a"><div class="ttname"><a href="group__ApplicationInterface.html#gaab8fdd6b9dc3f33d22800d8c517f864a">ecrt_domain_state</a></div><div class="ttdeci">void ecrt_domain_state(const ec_domain_t *domain, ec_domain_state_t *state)</div><div class="ttdoc">Reads the state of a domain. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00667">domain.c:667</a></div></div>
<div class="ttc" id="structec__pdo__entry__info__t_html"><div class="ttname"><a href="structec__pdo__entry__info__t.html">ec_pdo_entry_info_t</a></div><div class="ttdoc">PDO entry configuration information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00444">ecrt.h:444</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga6b58a60d15afe8bab546a766653f227f"><div class="ttname"><a href="group__ApplicationInterface.html#ga6b58a60d15afe8bab546a766653f227f">ecrt_slave_config_emerg_pop</a></div><div class="ttdeci">int ecrt_slave_config_emerg_pop(ec_slave_config_t *sc, uint8_t *target)</div><div class="ttdoc">Read and remove one record from the CoE emergency ring buffer. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01010">slave_config.c:1010</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gafc2fb2a662bd8129dea5330e5e313b5f"><div class="ttname"><a href="group__ApplicationInterface.html#gafc2fb2a662bd8129dea5330e5e313b5f">ecrt_slave_config_pdo_assign_clear</a></div><div class="ttdeci">void ecrt_slave_config_pdo_assign_clear(ec_slave_config_t *sc, uint8_t sync_index)</div><div class="ttdoc">Clear a sync manager&amp;#39;s PDO assignment. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l00593">slave_config.c:593</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gace65c0f94caa798d1f5930c1317dfd5c"><div class="ttname"><a href="group__ApplicationInterface.html#gace65c0f94caa798d1f5930c1317dfd5c">ecrt_domain_process</a></div><div class="ttdeci">void ecrt_domain_process(ec_domain_t *domain)</div><div class="ttdoc">Determines the states of the domain&amp;#39;s datagrams. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00458">domain.c:458</a></div></div>
<div class="ttc" id="structec__sync__info__t_html_a87956061ffbec80e40b2aa7a3c65791c"><div class="ttname"><a href="structec__sync__info__t.html#a87956061ffbec80e40b2aa7a3c65791c">ec_sync_info_t::index</a></div><div class="ttdeci">uint8_t index</div><div class="ttdoc">Sync manager index. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00478">ecrt.h:478</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga6b99c8912ed48a4ddce3d9470083dee1"><div class="ttname"><a href="group__ApplicationInterface.html#ga6b99c8912ed48a4ddce3d9470083dee1">ecrt_slave_config_state</a></div><div class="ttdeci">void ecrt_slave_config_state(const ec_slave_config_t *sc, ec_slave_config_state_t *state)</div><div class="ttdoc">Outputs the state of the slave configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01168">slave_config.c:1168</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga703c4e47384b3601e7605d6d910aaba1aebf26f1d5c09cf002af5b09d9cb59b78"><div class="ttname"><a href="group__ApplicationInterface.html#gga703c4e47384b3601e7605d6d910aaba1aebf26f1d5c09cf002af5b09d9cb59b78">EC_DIR_OUTPUT</a></div><div class="ttdoc">Values written by the master. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00419">ecrt.h:419</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gga18c064146090e45d36c05876c546caeaa1e8639024a180fdc380559b8f7a02b4f"><div class="ttname"><a href="group__ApplicationInterface.html#gga18c064146090e45d36c05876c546caeaa1e8639024a180fdc380559b8f7a02b4f">EC_AL_STATE_INIT</a></div><div class="ttdoc">Init. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00529">ecrt.h:529</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga5367e6982fae333765231a2c50579a96"><div class="ttname"><a href="group__ApplicationInterface.html#ga5367e6982fae333765231a2c50579a96">ecrt_domain_queue</a></div><div class="ttdeci">void ecrt_domain_queue(ec_domain_t *domain)</div><div class="ttdoc">(Re-)queues all domain datagrams in the master&amp;#39;s datagram queue. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8c_source.html#l00637">domain.c:637</a></div></div>
<div class="ttc" id="structec__master__link__state__t_html_a917ac210b8e3d193b845ce6f7fdc852a"><div class="ttname"><a href="structec__master__link__state__t.html#a917ac210b8e3d193b845ce6f7fdc852a">ec_master_link_state_t::al_states</a></div><div class="ttdeci">unsigned int al_states</div><div class="ttdoc">Application-layer states of the slaves on the given link. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00285">ecrt.h:285</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_a6001f55881e2cd363a4c0749c0096cd6"><div class="ttname"><a href="structec__slave__info__t.html#a6001f55881e2cd363a4c0749c0096cd6">ec_slave_info_t::position</a></div><div class="ttdeci">uint16_t position</div><div class="ttdoc">Offset of the slave in the ring. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00365">ecrt.h:365</a></div></div>
<div class="ttc" id="structec__slave__info__t_html_aedf2a04fab36cffaff880d42a3776c35"><div class="ttname"><a href="structec__slave__info__t.html#aedf2a04fab36cffaff880d42a3776c35">ec_slave_info_t::receive_time</a></div><div class="ttdeci">uint32_t receive_time</div><div class="ttdoc">Receive time on DC transmission delay measurement. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00375">ecrt.h:375</a></div></div>
<div class="ttc" id="structec__pdo__entry__reg__t_html_a117b2375f0027b33279a7ba74af0f76f"><div class="ttname"><a href="structec__pdo__entry__reg__t.html#a117b2375f0027b33279a7ba74af0f76f">ec_pdo_entry_reg_t::product_code</a></div><div class="ttdeci">uint32_t product_code</div><div class="ttdoc">Slave product code. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00499">ecrt.h:499</a></div></div>
<div class="ttc" id="structec__master_html"><div class="ttname"><a href="structec__master.html">ec_master</a></div><div class="ttdoc">EtherCAT master. </div><div class="ttdef"><b>Definition:</b> <a href="master_8h_source.html#l00194">master.h:194</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ggae94149f829f04960c62d63764a7779dfa870ae0f25d0f780ebcaac16c920f00e3"><div class="ttname"><a href="group__ApplicationInterface.html#ggae94149f829f04960c62d63764a7779dfa870ae0f25d0f780ebcaac16c920f00e3">EC_REQUEST_ERROR</a></div><div class="ttdoc">Request processing failed. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00521">ecrt.h:521</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gabdc6735565f209d8ab8473f34617a526"><div class="ttname"><a href="group__ApplicationInterface.html#gabdc6735565f209d8ab8473f34617a526">ecrt_master_sync_reference_clock</a></div><div class="ttdeci">void ecrt_master_sync_reference_clock(ec_master_t *master)</div><div class="ttdoc">Queues the DC reference clock drift compensation datagram for sending. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02761">master.c:2761</a></div></div>
<div class="ttc" id="structec__slave__port__link__t_html_a91706295ab6fa0761233b12a7e35d016"><div class="ttname"><a href="structec__slave__port__link__t.html#a91706295ab6fa0761233b12a7e35d016">ec_slave_port_link_t::link_up</a></div><div class="ttdeci">uint8_t link_up</div><div class="ttdoc">Link detected. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00351">ecrt.h:351</a></div></div>
<div class="ttc" id="structec__pdo__entry__info__t_html_a8547bec4e178409bdc8090ddd7e97c05"><div class="ttname"><a href="structec__pdo__entry__info__t.html#a8547bec4e178409bdc8090ddd7e97c05">ec_pdo_entry_info_t::subindex</a></div><div class="ttdeci">uint8_t subindex</div><div class="ttdoc">PDO entry subindex. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00446">ecrt.h:446</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga14aa167c0d4afd84b0fbada417a204f1"><div class="ttname"><a href="group__ApplicationInterface.html#ga14aa167c0d4afd84b0fbada417a204f1">ecrt_slave_config_create_sdo_request</a></div><div class="ttdeci">ec_sdo_request_t * ecrt_slave_config_create_sdo_request(ec_slave_config_t *sc, uint16_t index, uint8_t subindex, size_t size)</div><div class="ttdoc">Create an SDO request to exchange SDOs during realtime operation. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01073">slave_config.c:1073</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga4e08667772cb5ca889324d3a5c0d4b26"><div class="ttname"><a href="group__ApplicationInterface.html#ga4e08667772cb5ca889324d3a5c0d4b26">ecrt_voe_handler_data</a></div><div class="ttdeci">uint8_t * ecrt_voe_handler_data(ec_voe_handler_t *voe)</div><div class="ttdoc">Access to the VoE handler&amp;#39;s data. </div><div class="ttdef"><b>Definition:</b> <a href="voe__handler_8c_source.html#l00149">voe_handler.c:149</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gaf0e5a35aa54d971d75a6d00c148ffa83"><div class="ttname"><a href="group__ApplicationInterface.html#gaf0e5a35aa54d971d75a6d00c148ffa83">ecrt_sdo_request_write</a></div><div class="ttdeci">void ecrt_sdo_request_write(ec_sdo_request_t *req)</div><div class="ttdoc">Schedule an SDO write operation. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00235">sdo_request.c:235</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gad47666902ef543c1233a8fafcaa9e321"><div class="ttname"><a href="group__ApplicationInterface.html#gad47666902ef543c1233a8fafcaa9e321">ecrt_slave_config_emerg_overruns</a></div><div class="ttdeci">int ecrt_slave_config_emerg_overruns(ec_slave_config_t *sc)</div><div class="ttdoc">Read the number of CoE emergency overruns. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8c_source.html#l01024">slave_config.c:1024</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gac7fc3bbec83497a78b7b075e41eb26e4"><div class="ttname"><a href="group__ApplicationInterface.html#gac7fc3bbec83497a78b7b075e41eb26e4">ecrt_reg_request_state</a></div><div class="ttdeci">ec_request_state_t ecrt_reg_request_state(const ec_reg_request_t *req)</div><div class="ttdoc">Get the current state of the register request. </div><div class="ttdef"><b>Definition:</b> <a href="reg__request_8c_source.html#l00092">reg_request.c:92</a></div></div>
<div class="ttc" id="structec__domain_html"><div class="ttname"><a href="structec__domain.html">ec_domain</a></div><div class="ttdoc">EtherCAT domain. </div><div class="ttdef"><b>Definition:</b> <a href="domain_8h_source.html#l00054">domain.h:54</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_gae002eb267f69d91de0c83a5f4f349372"><div class="ttname"><a href="group__ApplicationInterface.html#gae002eb267f69d91de0c83a5f4f349372">ecrt_sdo_request_index</a></div><div class="ttdeci">void ecrt_sdo_request_index(ec_sdo_request_t *req, uint16_t index, uint8_t subindex)</div><div class="ttdoc">Set the SDO index and subindex. </div><div class="ttdef"><b>Definition:</b> <a href="sdo__request_8c_source.html#l00187">sdo_request.c:187</a></div></div>
<div class="ttc" id="structec__pdo__info__t_html_a625680a1ef38138a5d0298c70ba6f4b1"><div class="ttname"><a href="structec__pdo__info__t.html#a625680a1ef38138a5d0298c70ba6f4b1">ec_pdo_info_t::entries</a></div><div class="ttdeci">ec_pdo_entry_info_t * entries</div><div class="ttdoc">Array of PDO entries to map. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00464">ecrt.h:464</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga9544e79db51c59a96af6493025cdc933"><div class="ttname"><a href="group__ApplicationInterface.html#ga9544e79db51c59a96af6493025cdc933">ecrt_master_receive</a></div><div class="ttdeci">void ecrt_master_receive(ec_master_t *master)</div><div class="ttdoc">Fetches received frames from the hardware and processes the datagrams. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02453">master.c:2453</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga453f787866ee66afb98130cf4723762d"><div class="ttname"><a href="group__ApplicationInterface.html#ga453f787866ee66afb98130cf4723762d">ecrt_master_send</a></div><div class="ttdeci">void ecrt_master_send(ec_master_t *master)</div><div class="ttdoc">Sends all datagrams in the queue. </div><div class="ttdef"><b>Definition:</b> <a href="master_8c_source.html#l02409">master.c:2409</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="ecrt_8h.html">ecrt.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
